CAS(4)
π CAS(4) π
okay bestie, gather round, because we're about to talk about the Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet driver πΈ this is a section 4 page from the Kernel Interfaces Manual, and honestly? it's giving niche-but-iconic. the driver is called cas. no cap. π
β¨ NAME β¨
cas β the Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet driver. that's it, that's the name, she's simple and she knows what she is π¦
β¨ SYNOPSIS β¨
so like, you want this driver baked into your kernel? adorable. drop these lines into your kernel configuration file:
device miibus
device cas
orrr, if you're feeling modular and want to load it as a module at boot time (very main character energy, tbh), put this line in loader.conf(5):
if_cas_load="YES"
and that's the whole vibe check β
β¨ DESCRIPTION β¨
the cas driver provides support for the Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn Gigabit Ethernet controllers β you'll find these on-board in Sun UltraSPARC machines and also as add-on cards. yes, both. she's versatile πββοΈ
now for the slay: all controllers supported by cas have:
- TCP/UDP checksum offload capability for both receive and transmit π₯
- support for the reception and transmission of extended frames for
vlan(4) - an interrupt coalescing/moderation mechanism
- and a 512-bit multicast hash filter β¨
and bestie, there's more β cas also supports Jumbo Frames (up to 9022 bytes), which you configure via the interface MTU setting. so if you pick an MTU larger than 1500 bytes with the ifconfig(8) utility, you're literally configuring the adapter to receive and transmit Jumbo Frames. it's that easy, we love to see it π
β¨ HARDWARE β¨
the chips that cas is obsessed with (mutually):
- National Semiconductor DP83065 Saturn Gigabit Ethernet
- Sun Cassini Gigabit Ethernet
- Sun Cassini+ Gigabit Ethernet
and these add-on cards are known to work with the cas driver at this time (future updates pending, as always π):
- Sun GigaSwift Ethernet 1.0 MMF (Cassini Kuheen) (part no. 501-5524)
- Sun GigaSwift Ethernet 1.0 UTP (Cassini) (part no. 501-5902)
- Sun GigaSwift Ethernet UTP (GCS) (part no. 501-6719)
- Sun Quad GigaSwift Ethernet UTP (QGE) (part no. 501-6522)
- Sun Quad GigaSwift Ethernet PCI-X (QGE-X) (part no. 501-6738)
she has a type, and the type is Sun cards π
β¨ NOTES β¨
okay this part matters, so listen up π
on sparc64, the cas driver respects the local-mac-address? system configuration variable. you can set that in the Open Firmware boot monitor using the setenv command, or with eeprom(8).
so here's the breakdown:
- if it's set to
"false"(which is the default, fyi),caswill use the system's default MAC address for all of its devices. - if it's set to
"true", then the unique MAC address of each interface is used if present, rather than the system's default MAC address. periodt. π
and which interfaces have their own MAC address, you ask? supported interfaces with their own MAC address include on-board versions on boards equipped with more than one Ethernet interface and all add-on cards. iykyk π
β¨ SEE ALSO β¨
go read these next, bestie, they're all part of the lore:
altq(4), miibus(4), netintro(4), vlan(4), eeprom(8), ifconfig(8)
β¨ HISTORY β¨
the cas device driver appeared in FreeBSD 8.0 and FreeBSD 7.3. π
and here's the fun lil origin story: it's named after the cas driver which first appeared in OpenBSD 4.1 and supports the same set of controllers β but is otherwise completely unrelated. same name, different girl, no drama π«Ά
β¨ AUTHORS β¨
the cas driver was written by Marius Strobl <marius@FreeBSD.org>, based on the gem(4) driver. king behavior, honestly π
and that's the whole page, bestie!! this one shipped out under the Debian banner, dated March 24, 2012 β shoutout to the CAS(4) manual page for existing and for being exactly this iconic πβ¨ππ¦πΈπ
π«Άππ₯ππβππππ§π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2009 Marius Strobl <marius@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms