xref: /openbsd-src/share/man/man4/cas.4 (revision a28daedfc357b214be5c701aa8ba8adb29a7f1c2)
1.\"	$OpenBSD: cas.4,v 1.6 2008/04/02 22:50:36 kettenis Exp $
2.\"
3.\" Copyright (c) 2007 Mark Kettenis <kettenis@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: April 2 2008 $
18.Dt CAS 4
19.Os
20.Sh NAME
21.Nm cas
22.Nd Sun Cassini 10/100/Gigabit Ethernet device
23.Sh SYNOPSIS
24.Cd "cas* at pci?"
25.Cd "brgphy* at mii?"
26.Cd "gentbi* at mii?"
27.Cd "nsgphy* at mii?"
28.Sh DESCRIPTION
29The
30.Nm
31driver provides support for various NICs based on the Sun
32Cassini/Cassini+ and National Semiconductor Saturn Ethernet controller
33chips, including the following:
34.Pp
35.Bl -bullet -compact -offset indent
36.It
37Sun GigaSwift Ethernet Adapter (10/100/1000baseT)
38.It
39Sun GigaSwift Ethernet Adapter (1000baseSX)
40.It
41Sun Quad GigaSwift Ethernet UTP Adapter (10/100/1000baseT)
42.It
43Sun Quad GigaSwift PCI-X Adapter (10/100/1000baseT)
44.El
45.Pp
46It uses an internal or external PHY or an external 10-bit interface.
47.Pp
48The
49.Nm
50driver supports several media types, which are selected via the
51.Xr ifconfig 8
52command.
53The supported media types are:
54.Bl -tag -width "media" -offset indent
55.It media autoselect
56Attempt to autoselect the media type (default)
57.It media 1000baseT mediaopt full-duplex
58Use 1000baseT on copper, full duplex
59.It media 1000baseT Op mediaopt half-duplex
60Use 1000baseT on copper, half duplex
61.It media 1000baseSX  mediaopt full-duplex
62Use 1000baseSX on fiber, full duplex
63.It media 1000baseSX Op mediaopt half-duplex
64Use 1000baseSX on fiber, half duplex
65.It media 100baseTX  mediaopt full-duplex
66Use 100baseTX, full duplex
67.It media 100baseTX Op mediaopt half-duplex
68Use 100baseTX, half duplex
69.It media 10baseT mediaopt full-duplex
70Use 10baseT, full duplex
71.It media 10baseT Op mediaopt half-duplex
72Use 10baseT, half duplex
73.El
74.Sh SEE ALSO
75.Xr arp 4 ,
76.Xr brgphy 4 ,
77.Xr gentbi 4 ,
78.Xr ifmedia 4 ,
79.Xr inet 4 ,
80.Xr intro 4 ,
81.Xr netintro 4 ,
82.Xr nsgphy 4 ,
83.Xr hostname.if 5 ,
84.Xr ifconfig 8
85.Sh HISTORY
86.Ox
87support for
88.Nm
89first appeared in
90.Ox 4.1 .
91.Sh AUTHORS
92The
93.Nm
94driver was written by
95.An Mark Kettenis Aq kettenis@openbsd.org
96based on the
97.Xr gem 4
98driver.
99.Sh BUGS
100The
101.Nm
102driver does not yet use many of the advanced features the Cassini chip
103offers.
104