ALTERA_ATSE(4)
๐ฆ ALTERA_ATSE(4) ๐ฆ
ok so like... this is a page from the Kernel Interfaces Manual bestie, and we're talking about the atse driver ๐
welcome to the group chat, grab a strawberry ๐
โจ NAME โจ
atse โ the driver for the Altera Triple-Speed Ethernet MegaCore. that's it, that's the whole vibe ๐
๐ธ SYNOPSIS ๐ธ
device atse
options ATSE_CFI_HACK
and now the part where you gotta talk to /boot/device.hints directly, like sliding into its DMs ๐:
hint.atse.0.at="nexus0"
hint.atse.0.maddr=0x7f007000
hint.atse.0.msize=0x540
hint.atse.0.rc_irq=1
hint.atse.0.rx_maddr=0x7f007500
hint.atse.0.rx_msize=0x8
hint.atse.0.rxc_maddr=0x7f007520
hint.atse.0.rxc_msize=0x20
hint.atse.0.tx_irq=2
hint.atse.0.tx_maddr=0x7f007400
hint.atse.0.tx_msize=0x8
hint.atse.0.txc_maddr=0x7f007420
hint.atse.0.txc_msize=0x20
hint.e1000phy.0.at="miibus0"
hint.e1000phy.0.phyno=0
๐ DESCRIPTION ๐
the atse device driver provides support for the Altera Triple-Speed Ethernet MegaCore. short, sweet, iconic ๐
๐ฅ HARDWARE ๐ฅ
the current version of the atse driver supports the Ethernet MegaCore as described in version 11.1 of Altera's documentation โ but ONLY when the device is configured with internal FIFOs. not me being picky but like... that's the deal fr fr ๐ซถ
๐ MAC SELECTION ๐
okay this part is lowkey the main character energy of the whole page, so pay attention bestie ๐ญ
the default MAC address for each atse interface is derived from a value stored in cfi(4) flash. that value is managed by the atsectl(8) utility, so it's not just vibes โ there's a whole tool for it โจ
only a single MAC address may be stored in flash. one. just one. no hoarding ๐
so here's the tea:
- if the address begins with the Altera prefix
00:07:edand ends in00, then up to 16 addresses will be derived from it by adding the unit number of the interface to the stored address. math slay ๐งฎ - for other prefixes, the address will be assigned to
atse0and random addresses will be used for other interfaces. sharing is not caring in this case ๐ - if the stored address is invalid โ for example all zero's, multicast, or the default address shipped on all DE4 boards (
00:07:ed:ff:ed:15) โ then a random address is generated when the device is attached. the driver just goes "nope" and improvises ๐
๐ SEE ALSO ๐
Triple-Speed Ethernet MegaCore Function User Guide, Altera Corporation, November 2011. required reading, iykyk ๐
๐ HISTORY ๐
the atse device driver first appeared in FreeBSD 10.0. a whole era โจ
๐ AUTHORS ๐
the atse device driver and this manual page were developed by SRI International and the University of Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) (โCTSRDโ), as part of the DARPA CRASH research programme. this device driver was written by Bjoern A. Zeeb. absolute legend behavior ๐ซก
โญ BUGS โญ
real talk, these are the limitations and you need to know them before you come for me okay ๐ค
- the
atsedriver only supports a single configuration of the MegaCore as installed on the Terasic Technologies Altera DE4 Development and Education Board. literally one fit, no other fits ๐ - only gigabit Ethernet speeds are currently supported. no slow lane, no fast lane, just the gigabit one ๐
and that's the whole page babes ๐ this little gem came from Debian, dated May 21, 2014, and it's filed under ALTERA_ATSE(4) in the Kernel Interfaces Manual โ go off, you're now an expert ๐ฆ๐โจ
๐ฆ where this page comes from
- freebsd 14.5: base 14.5
- Copyright (c) 2013-2014 SRI International
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms