xref: /freebsd/share/man/man4/cas.4 (revision 830940567b49bb0c08dfaed40418999e76616909)
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 June 15, 2009
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="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 found
54on-board in Sun UltraSPARC machines and as add-on cards.
55.Pp
56All controllers supported by the
57.Nm
58driver have TCP/UDP checksum offload capability for both receive and
59transmit, support for the reception and transmission of extended frames
60for
61.Xr vlan 4
62and an interrupt coalescing/moderation mechanism as well as a 512-bit
63multicast hash filter.
64.Pp
65The
66.Nm
67driver also supports Jumbo Frames (up to 9022 bytes), which can be
68configured via the interface MTU setting.
69Selecting an MTU larger than 1500 bytes with the
70.Xr ifconfig 8
71utility configures the adapter to receive and transmit Jumbo Frames.
72.Sh HARDWARE
73.Pp
74The chips supported by the
75.Nm
76driver are:
77.Pp
78.Bl -bullet -compact
79.It
80National Semiconductor DP83065 Saturn Gigabit Ethernet
81.It
82Sun Cassini Gigabit Ethernet
83.It
84Sun Cassini+ Gigabit Ethernet
85.El
86.Pp
87The
88following add-on cards are known to work with the
89.Nm
90driver at this time:
91.Pp
92.Bl -bullet -compact
93.It
94Sun GigaSwift Ethernet 1.0 UTP (Cassini)
95(part no.\& 501-5902)
96.It
97Sun GigaSwift Ethernet UTP (GCS)
98(part no.\& 501-6719)
99.It
100Sun Quad GigaSwift Ethernet UTP (QGE)
101(part no.\& 501-6522)
102.El
103.Sh NOTES
104On sparc64 the
105.Nm
106driver respects the
107.Va local-mac-address?
108system configuration variable which can be set in the Open Firmware boot
109monitor using the
110.Ic setenv
111command or by
112.Xr eeprom 8 .
113If set to
114.Dq Li false
115(the default), the
116.Nm
117driver will use the system's default MAC address for all of its devices.
118If set to
119.Dq Li true ,
120the unique MAC address of each interface is used if present rather than
121the system's default MAC address.
122.Pp
123Supported interfaces having their own MAC address include on-board
124versions on boards equipped with more than one Ethernet interface and
125all add-on cards.
126.Sh SEE ALSO
127.Xr altq 4 ,
128.Xr miibus 4 ,
129.Xr netintro 4 ,
130.Xr vlan 4 ,
131.Xr eeprom 8 ,
132.Xr ifconfig 8
133.Sh HISTORY
134The
135.Nm
136device driver appeared in
137.Fx 8.0
138and
139.Fx 7.3 .
140It is named after the
141.Nm
142driver which first appeared in
143.Ox 4.1
144and supports the same set of controllers but is otherwise unrelated.
145.Sh AUTHORS
146.An -nosplit
147The
148.Nm
149driver was written by
150.An Marius Strobl
151.Aq marius@FreeBSD.org
152based on the
153.Xr gem 4
154driver.
155