MOS(4)

πŸ’– MOS(4) β€” the mos manual page, bestie edition πŸ’–

okay so. this is the manual page for mos, section 4 of the Kernel Interfaces Manual, and honestly? she's a little niche but she serves. sit down, grab a strawberry, we're learning about a USB Ethernet driver πŸ“βœ¨


✨ NAME ✨

mos β€” the Moschip MCS7730/MCS7830/MCS7832 USB Ethernet driver. that's her. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

so like, there's two ways to get her into your life, bestie. option one: bake her directly into the kernel. drop these lines into your kernel configuration file, exactly like this:

device uhci
device ohci
device ehci
device usb
device miibus
device uether
device mos

or, option two, if you'd rather load her as a module at boot time (so much more lowkey tbh), put this one single line into loader.conf(5):

if_mos_load="YES"

that's it. that's the whole entrance. πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

okay so the mos driver gives you support for USB Ethernet adapters that are built on the Moschip MCS7730/MCS7830/MCS7832 chipset. iconic chipset behavior, no notes.

the adapters rocking that Moschip MCS7730/MCS7830/MCS7832 chipset will operate at 100Base-TX and full-duplex. periodt.

the Moschip contains a 10/100 Ethernet MAC with an MII interface, and it's designed to work with both Ethernet and HomePNA transceivers. now β€” and this is the part where you need to listen, bestie β€” even though it's designed to interface with 100Mbps peripherals, this only works with USB 2.0. the existing USB 1.0 standard specifies a maximum transfer speed of 12Mbps. so if you're a USB 1.0 user? do not expect to actually achieve 100Mbps speeds with these devices. like, at all. the math is not mathing. 😭

the Moschip supports:

  • a 64-bit multicast hash table
  • a single perfect filter entry for the station address
  • promiscuous mode

packets are received and transmitted over separate USB bulk transfer endpoints. slay. πŸ¦‹

for more info on configuring this device, go see ifconfig(8). she's the main character of configuration, iykyk.


πŸ”₯ HARDWARE πŸ”₯

adapters supported by the mos driver include:

  • Sitecom LN030

that's the list. short, sweet, and she ate. πŸ‘‘


🌈 SEE ALSO 🌈

also, the ADMtek AN986 data sheet, which lives right here:

http://www.moschip.com/data/products/MCS7830/Data%20Sheet_7830.pdf

go read it, it's giving ✨documentation✨.


πŸ¦‹ HISTORY πŸ¦‹

the mos device driver first appeared in FreeBSD 8.2. a lil vintage moment. we love a comeback story. πŸ’–


πŸ’… AUTHORS πŸ’…

the mos driver was written by Rick van der Zwet β€” you can reach him at info@rickvanderzwet.nl. thank you for your service, king 🫢


okay that's the whole page, you're officially educated, no cap. this little beauty came to you from the Debian folks, dated November 24, 2015 β€” and it's literally, fr fr, MOS(4). mwah. πŸ˜˜πŸ’–βœ¨

πŸ“¦ where this page comes from