xref: /freebsd/share/man/man4/cas.4 (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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.Dd April 18, 2023
27.Dt CAS 4
28.Os
29.Sh NAME
30.Nm cas
31.Nd Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet driver
32.Sh SYNOPSIS
33To compile this driver into the kernel,
34place the following lines in your
35kernel configuration file:
36.Bd -ragged -offset indent
37.Cd "device miibus"
38.Cd "device cas"
39.Ed
40.Pp
41Alternatively, to load the driver as a
42module at boot time, place the following line in
43.Xr loader.conf 5 :
44.Bd -literal -offset indent
45if_cas_load="YES"
46.Ed
47.Sh DESCRIPTION
48The
49.Nm
50driver provides support for the Sun Cassini/Cassini+ and National
51Semiconductor DP83065 Saturn Gigabit Ethernet controllers.
52.Pp
53All controllers supported by the
54.Nm
55driver have TCP/UDP checksum offload capability for both receive and
56transmit, support for the reception and transmission of extended frames
57for
58.Xr vlan 4
59and an interrupt coalescing/moderation mechanism as well as a 512-bit
60multicast hash filter.
61.Pp
62The
63.Nm
64driver also supports Jumbo Frames (up to 9022 bytes), which can be
65configured via the interface MTU setting.
66Selecting an MTU larger than 1500 bytes with the
67.Xr ifconfig 8
68utility configures the adapter to receive and transmit Jumbo Frames.
69.Sh HARDWARE
70The chips supported by the
71.Nm
72driver are:
73.Pp
74.Bl -bullet -compact
75.It
76National Semiconductor DP83065 Saturn Gigabit Ethernet
77.It
78Sun Cassini Gigabit Ethernet
79.It
80Sun Cassini+ Gigabit Ethernet
81.El
82.Pp
83The
84following add-on cards are known to work with the
85.Nm
86driver at this time:
87.Pp
88.Bl -bullet -compact
89.It
90Sun GigaSwift Ethernet 1.0 MMF (Cassini Kuheen)
91(part no.\& 501-5524)
92.It
93Sun GigaSwift Ethernet 1.0 UTP (Cassini)
94(part no.\& 501-5902)
95.It
96Sun GigaSwift Ethernet UTP (GCS)
97(part no.\& 501-6719)
98.It
99Sun Quad GigaSwift Ethernet UTP (QGE)
100(part no.\& 501-6522)
101.It
102Sun Quad GigaSwift Ethernet PCI-X (QGE-X)
103(part no.\& 501-6738)
104.El
105.Sh SEE ALSO
106.Xr altq 4 ,
107.Xr miibus 4 ,
108.Xr netintro 4 ,
109.Xr vlan 4 ,
110.Xr ifconfig 8
111.Sh HISTORY
112The
113.Nm
114device driver appeared in
115.Fx 8.0
116and
117.Fx 7.3 .
118It is named after the
119.Nm
120driver which first appeared in
121.Ox 4.1
122and supports the same set of controllers but is otherwise unrelated.
123.Sh AUTHORS
124.An -nosplit
125The
126.Nm
127driver was written by
128.An Marius Strobl Aq Mt marius@FreeBSD.org
129based on the
130.Xr gem 4
131driver.
132