freebsd-dev/sys/dev
Martin Blapp 129eaf7996 Don't read the MAC address from a copy of the EEPROM in the softc
that has been recorded earlier and overwrite it again later by
reading it directly from the EEPROM again.

Read the MAC address from the PAR0/PAR1 registers instead, which
are autoloaded on reboot.

Tested on AN985, AN983B. According to the datasheets, it should
also work for the AL981 (I don't have such a chip on a card at home)

PR:             52988
Submitted by:   Andrew Gordon <arg-bsd@arg.me.uk>
MFC after:      2 weeks
2003-09-16 05:01:27 +00:00
..
aac Use PCIR_BAR() instead of a magic offset. 2003-09-09 06:44:58 +00:00
acpica Bump the EC timeout from 50 to 100 ms. I believe the underlying issue is 2003-09-15 21:20:55 +00:00
adlink Be less confusing in a comment. 2003-09-05 11:05:41 +00:00
advansys Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
agp PCI header files live in dev/pci. 2003-08-23 19:32:18 +00:00
aha Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ahb Make this at least compile on 64 bit platforms. Its been breaking 2003-07-30 20:09:22 +00:00
aic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
aic7xxx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
amd Prefer new location of pci include files (which have only been in the 2003-08-22 05:54:52 +00:00
amr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
an Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ar Use __FBSDID(). 2003-08-24 17:55:58 +00:00
asr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ata Disable the use of cloning use in floppy and CD drivers. 2003-09-11 19:27:24 +00:00
ath Maintain a history of data associated with received frames and use this to 2003-09-15 22:34:46 +00:00
atkbdc Use __FBSDID(). 2003-08-24 17:55:58 +00:00
awi Fix off-by-one error in array bounds check. 2003-09-05 11:09:26 +00:00
bfe Remove unnecessary #include of brgphyreg.h, left over from when Stuart used 2003-09-09 18:21:17 +00:00
bge Use __FBSDID(). 2003-08-24 17:55:58 +00:00
bktr Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
buslogic Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
cardbus Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ciss Quiet down boot verbose and allow commands to be submitted to a target 2003-09-08 16:45:33 +00:00
cm Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cnw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cs Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ct Use __FBSDID(). 2003-08-24 17:55:58 +00:00
cy Use __FBSDID(). 2003-06-11 06:34:30 +00:00
dc Don't read the MAC address from a copy of the EEPROM in the softc 2003-09-16 05:01:27 +00:00
de Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
dec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
dgb Remove a few ushorts I missed in my earlier pass. 2003-08-15 14:55:50 +00:00
digi Use __FBSDID(). 2003-08-24 17:55:58 +00:00
dpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
drm Merge from DRI CVS. Includes newly ported SiS 300/305/540/630/730 driver and 2003-09-09 00:24:31 +00:00
ed Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
eisa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
em Add support for new devices. 2003-08-27 21:52:37 +00:00
en Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ep Style fixes of the whitespace variety. Fix long lines and tabs. 2003-08-30 08:10:58 +00:00
ex Use __FBSDID(). 2003-08-24 17:55:58 +00:00
exca When we went to the set_flags interface for the memory resource, we 2003-08-29 05:27:36 +00:00
fatm Remove duplicate SCM ID. 2003-08-24 20:18:11 +00:00
fb Use __FBSDID(). 2003-08-24 17:55:58 +00:00
fdc Disable the use of cloning use in floppy and CD drivers. 2003-09-11 19:27:24 +00:00
fe Use __FBSDID(). 2003-08-24 17:55:58 +00:00
firewire Fix byte order of multi-byte scsi_status information. 2003-08-29 13:36:17 +00:00
fxp change timeout to be MPSAFE 2003-09-05 22:37:31 +00:00
gem Preparatory commit to allow prototypes in ofw_machdep.h to contain 2003-09-02 20:24:42 +00:00
gfb Use __FBSDID(). 2003-08-24 17:55:58 +00:00
gx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
harp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hatm Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hea Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hfa Use __FBSDID(). 2003-08-24 17:55:58 +00:00
hifn Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
hme Preparatory commit to allow prototypes in ofw_machdep.h to contain 2003-09-02 20:24:42 +00:00
ic The uart(4) driver is an universal driver for various UART hardware. 2003-09-06 23:13:47 +00:00
ichsmb Update the comment to indicate ICH5 support 2003-08-31 19:23:00 +00:00
ida Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
idt Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ie Use __FBSDID(). 2003-08-24 17:55:58 +00:00
iicbus Use __FBSDID(). 2003-08-24 17:55:58 +00:00
iir Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
ips Delay most of the adapter initilization until after interrupts are 2003-09-11 23:30:28 +00:00
isp Add a module dependancy. Now CAM will autoload when you load this. 2003-09-15 06:41:33 +00:00
ispfw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
joy Use __FBSDID(). 2003-08-24 17:55:58 +00:00
kbd Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lge Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lmc Use __FBSDID(). 2003-08-24 17:55:58 +00:00
lnc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
matcd Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mc146818
mca Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mcd Use __FBSDID(). 2003-08-24 17:55:58 +00:00
md Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
mii Clean up dead code. 2003-09-11 08:28:38 +00:00
mk48txx Use __FBSDID(). 2003-08-24 17:55:58 +00:00
mlx Prepare for locking mlx(4) by cleaning up the use of busdma. No real 2003-09-02 08:30:31 +00:00
mly Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mpt Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
mse Use __FBSDID(). 2003-06-02 16:32:55 +00:00
musycc Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
my Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ncv Use __FBSDID(). 2003-08-24 17:55:58 +00:00
nge Use __FBSDID(). 2003-08-24 17:55:58 +00:00
nmdm Use __FBSDID(). 2003-08-24 17:55:58 +00:00
nsp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
null Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ofw Use __FBSDID(). 2003-08-24 17:55:58 +00:00
owi Check in the known good version of the wi driver, with prism/symbol 2003-08-24 05:42:49 +00:00
patm Use __FBSDID(). 2003-08-24 17:55:58 +00:00
pccard Whacked out CIS configurations can cause us to not have any child. When 2003-09-05 03:08:08 +00:00
pccbb Add newly discovered ENE Technologies CardBus bridges to the list: 2003-08-22 08:49:56 +00:00
pcf fix another LP64 problem. READ_IVAR takes a pointer to an uintptr_t, not 2003-06-20 07:22:54 +00:00
pci Teach the PCI code to parse MSI extended capabilities. Re-arrange the 2003-09-14 19:30:00 +00:00
pcic Use __FBSDID(). 2003-08-24 17:55:58 +00:00
pdq Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppbus Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppc Forgot an added file in the last commit. 2003-08-01 05:02:55 +00:00
pst Dont re-arm the timeout twice on a timeout error. 2003-09-08 06:28:50 +00:00
puc Enhance puc(4) to support uart(4). This includes: 2003-09-06 21:48:50 +00:00
raidframe Use __FBSDID(). 2003-08-24 17:55:58 +00:00
random Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ray Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rc Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
re Teach the re(4) driver about the CFG2 register, which tells us whether 2003-09-13 23:51:35 +00:00
rndtest Use __FBSDID(). 2003-08-24 17:55:58 +00:00
rp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
sab Use __FBSDID(). 2003-08-24 18:03:45 +00:00
safe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
sbni Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
sbsh Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
scd Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sf Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
si Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sio Quick fix for a pessimization in rev.1.194. An extra i/o instruction 2003-09-15 13:49:18 +00:00
sk Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
smbus No need for a separate nfpm driver now - amdpm handles both. 2003-09-06 13:58:06 +00:00
sn Use __FBSDID(). 2003-08-24 18:03:45 +00:00
snc Use __FBSDID(). 2003-08-24 18:03:45 +00:00
snp Use __FBSDID(). 2003-08-24 18:03:45 +00:00
sound Correctly reset ich[3-5] sound cards on resume. This fixes audio playback 2003-09-15 21:16:47 +00:00
speaker Use __FBSDID(). 2003-06-02 16:32:55 +00:00
sr Use __FBSDID(). 2003-08-24 18:17:24 +00:00
stg Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
streams Use __FBSDID(). 2003-08-24 18:17:24 +00:00
sym Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
syscons Fix the alpha kernel build. 2003-08-25 21:32:00 +00:00
tdfx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
tga Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ti Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
trm Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
twe Prefer new location of pci include files (which have only been in the 2003-08-22 07:08:17 +00:00
tx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
txp Use __FBSDID(). 2003-08-24 17:55:58 +00:00
uart Remove inclusion of <sys/timepps.h>. It's included in "uart_bus.h" 2003-09-15 04:49:22 +00:00
ubsec Use __FBSDID(). 2003-08-24 17:55:58 +00:00
usb Recognize the OHCI USB device on Opteron-based nForce3 motherboards 2003-09-03 07:40:17 +00:00
utopia Generate events when the carrier goes up or down. 2003-07-30 08:35:58 +00:00
vinum Use __FBSDID(). 2003-08-24 17:55:58 +00:00
vr Prefer new location of pci include files (which have only been in the 2003-08-22 07:20:27 +00:00
vx Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
wds Use __FBSDID(). 2003-08-24 17:55:58 +00:00
wi o add experimental radiotap capture format 2003-09-05 22:29:30 +00:00
wl Use __FBSDID(). 2003-08-24 17:55:58 +00:00
xe Use __FBSDID(). 2003-08-24 17:55:58 +00:00
zs Use __FBSDID(). 2003-08-24 17:55:58 +00:00