1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/dev/hme
Marius Strobl f348e5ac4b Make hme(4), i.e. the PCI-variant, MI by reading the MAC address on sytems
without Open Firmware directly instead of using OF_getetheraddr(). This is
a bit painful though, as the MAC address is contained in the NA field of
the VPD of the EBus bridge, which is is another function of the same chip.
To make it worse, the VPD of the EBus bridge can't be accessed via the PCI
capability pointer but has to be digged out from the Boot PROM and has a
non-standard format.
The PCI VPD struct and macros used here should be part of the FreeBSD PCI
code nevertheless.

Approved by:	tmm
Based on:	NetBSD
Tested with:	Sun X1032A (hme(4)-isp(4)-combo card) on alpha and i386
2004-08-14 22:38:20 +00:00
..
if_hme_pci.c Make hme(4), i.e. the PCI-variant, MI by reading the MAC address on sytems 2004-08-14 22:38:20 +00:00
if_hme_sbus.c - Use bus_space_subregion() rather than arithmetic on bus_space_handle_t. [1] 2004-08-12 20:37:02 +00:00
if_hme.c Since if_hme doesn't contain locking or run with INTR_MPSAFE, mark 2004-08-13 23:14:50 +00:00
if_hmereg.h Implement TCP/UDP Transmit/Receive checksum offload. 2004-08-05 02:52:33 +00:00
if_hmevar.h - Use bus_space_subregion() rather than arithmetic on bus_space_handle_t. [1] 2004-08-12 20:37:02 +00:00