1.\" 2.\" Copyright (c) 2009 Marius Strobl <marius@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" 26.\" $FreeBSD$ 27.\" 28.Dd April 18, 2023 29.Dt CAS 4 30.Os 31.Sh NAME 32.Nm cas 33.Nd Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet driver 34.Sh SYNOPSIS 35To compile this driver into the kernel, 36place the following lines in your 37kernel configuration file: 38.Bd -ragged -offset indent 39.Cd "device miibus" 40.Cd "device cas" 41.Ed 42.Pp 43Alternatively, to load the driver as a 44module at boot time, place the following line in 45.Xr loader.conf 5 : 46.Bd -literal -offset indent 47if_cas_load="YES" 48.Ed 49.Sh DESCRIPTION 50The 51.Nm 52driver provides support for the Sun Cassini/Cassini+ and National 53Semiconductor DP83065 Saturn Gigabit Ethernet controllers. 54.Pp 55All controllers supported by the 56.Nm 57driver have TCP/UDP checksum offload capability for both receive and 58transmit, support for the reception and transmission of extended frames 59for 60.Xr vlan 4 61and an interrupt coalescing/moderation mechanism as well as a 512-bit 62multicast hash filter. 63.Pp 64The 65.Nm 66driver also supports Jumbo Frames (up to 9022 bytes), which can be 67configured via the interface MTU setting. 68Selecting an MTU larger than 1500 bytes with the 69.Xr ifconfig 8 70utility configures the adapter to receive and transmit Jumbo Frames. 71.Sh HARDWARE 72The chips supported by the 73.Nm 74driver are: 75.Pp 76.Bl -bullet -compact 77.It 78National Semiconductor DP83065 Saturn Gigabit Ethernet 79.It 80Sun Cassini Gigabit Ethernet 81.It 82Sun Cassini+ Gigabit Ethernet 83.El 84.Pp 85The 86following add-on cards are known to work with the 87.Nm 88driver at this time: 89.Pp 90.Bl -bullet -compact 91.It 92Sun GigaSwift Ethernet 1.0 MMF (Cassini Kuheen) 93(part no.\& 501-5524) 94.It 95Sun GigaSwift Ethernet 1.0 UTP (Cassini) 96(part no.\& 501-5902) 97.It 98Sun GigaSwift Ethernet UTP (GCS) 99(part no.\& 501-6719) 100.It 101Sun Quad GigaSwift Ethernet UTP (QGE) 102(part no.\& 501-6522) 103.It 104Sun Quad GigaSwift Ethernet PCI-X (QGE-X) 105(part no.\& 501-6738) 106.El 107.Sh SEE ALSO 108.Xr altq 4 , 109.Xr miibus 4 , 110.Xr netintro 4 , 111.Xr vlan 4 , 112.Xr ifconfig 8 113.Sh HISTORY 114The 115.Nm 116device driver appeared in 117.Fx 8.0 118and 119.Fx 7.3 . 120It is named after the 121.Nm 122driver which first appeared in 123.Ox 4.1 124and supports the same set of controllers but is otherwise unrelated. 125.Sh AUTHORS 126.An -nosplit 127The 128.Nm 129driver was written by 130.An Marius Strobl Aq Mt marius@FreeBSD.org 131based on the 132.Xr gem 4 133driver. 134