KSZ8995MA(4)

πŸ’– KSZ8995MA πŸ’–

okay bestie, gather round, because this is the ksz8995ma page from section 4 of the Kernel Interfaces Manual, and honestly? it's giving hardware girlie. ✨


🌸 NAME 🌸

ksz8995ma β€” the driver for the Micrel KSZ8995MA fast ethernet switch chip. yes that's a whole switch chip, in your kernel, being iconic. πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

okay so this is how you pull up:

device spibus
device etherswitch
device ksz8995ma

hint.ksz8995ma.0.at="spibus0"

that's it. that's the whole vibe. copy it exactly, no freestyling. πŸ’…


✨ DESCRIPTION ✨

so like, the ksz8995ma device driver hands you a management interface to the Micrel KSZ8995MA fast ethernet switch chip. πŸ¦‹

this driver uses the spi interface. no cap.

now listen, the KSZ8995 series has so many versions β€” like, way too many, main character energy for real β€” but this driver only supports the MA/FQ version. only those two. the rest are not invited to the party. πŸ™ˆ

what does it actually support tho? glad you asked:

  • port support πŸ’–
  • dot1q vlan support πŸ’–

and with dot1q, it supports port base tag/untag. so you can tag or untag per port, periodt.


🌈 EXAMPLES 🌈

setting up dot1q vlan

you do it with the etherswitchcfg command, like this:

# etherswitchcfg config vlan_mode dot1q

that's the whole thing. vlan_mode dot1q. slay. ✨

making port 5 a tagging port

# etherswitchcfg port5 addtag

boom. port 5 is now the tagging port. she's got a job now. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too bestie, they're the supporting cast and they ate. 🫢


πŸ“œ HISTORY πŸ“œ

the ksz8995ma device driver first appeared in FreeBSD 12.0. a legend was born. ⭐


πŸ’œ AUTHORS πŸ’œ

the ksz8995ma driver was written by Hiroki Mori. thank you for your service, king. πŸ‘‘


ok that's the whole page, no skips, no summaries, we kept every single crumb. πŸ“

this lil writeup lives in the Debian edition of the manual, dated April 6, 2017 β€” so if you're citing it, that's your source and your date right there. love that for us. bye bestie, go configure some vlans πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from