freebsd-dev/sys/pci
Pyun YongHyeon 141f92e7b5 re(4) devices requires an external EEPROM. Depending on models it
would be 93C46(1Kbit) or 93C56(2Kbit). One of differences between them
is number of address lines required to access the EEPROM. For example,
93C56 EEPROM needs 8 address lines to read/write data. If 93C56
recevied premature end of required number of serial clock(CLK) to set
OP code/address of EEPROM, the result would be unexpected behavior.
Previously it tried to detect 93C46, which requires 6 address lines,
and then assumed it would be 93C56 if read data was not expected
value. However, this approach didn't work in some models/situations
as 93C56 requries 8 address lines to access its data. In order to fix
it, change EEPROM probing order such that 93C56 is detected reliably.

While I'm here change hard-coded address line numbers with defined
constant to enhance readability.

PR:	112710
Approved by:	re (mux)
2007-07-06 00:05:12 +00:00
..
agp_ali.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp_amd64.c Fix style(9) nits. 2006-10-09 20:26:32 +00:00
agp_amd.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp_ati.c Add support for another ATI IGP 340M (RS200M) AGP bridge. 2006-09-01 02:22:17 +00:00
agp_i810.c Add support for 945G/GM AGP chipsets. 2006-09-27 06:38:54 +00:00
agp_if.m
agp_intel.c Restore agp aperture size after resume, in case it is modified after boot. 2007-01-06 08:31:31 +00:00
agp_nvidia.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp_sis.c Move SiS 760 to where it belongs. 2006-05-30 18:41:26 +00:00
agp_via.c Change the various AGP drivers that attach to the Host-PCI bridge device to 2005-12-20 21:12:26 +00:00
agp.c The page queues lock is no longer required by vm_page_busy() or 2006-10-22 21:18:48 +00:00
agppriv.h
agpreg.h - Clean up Aperture Access Global Enable (APEN) bit access. 2007-01-05 22:55:19 +00:00
agpvar.h Don't map the AGP aperture into contiguous KVA. The various graphics 2005-12-20 20:05:21 +00:00
alpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdpm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
amdsmb.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
if_mn.c Catchup with filters 2007-02-23 19:41:34 +00:00
if_pcn.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_pcnreg.h - Clear the PCN_MISC_ASEL bit so the media port can be actually set 2006-11-28 01:33:17 +00:00
if_rl.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_rlreg.h re(4) devices requires an external EEPROM. Depending on models it 2007-07-06 00:05:12 +00:00
if_sf.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_sfreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_sis.c Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
if_sisreg.h Convert sis(4) to use its own watchdog procedure. 2007-02-24 14:27:36 +00:00
if_ste.c The mac address must be written a word length at a time, it was having no effect before. 2007-06-15 21:45:41 +00:00
if_stereg.h Add new ST201 PCI id. 2007-03-10 03:10:34 +00:00
if_tl.c tl(4) appears to support long frames. 2007-05-09 09:02:11 +00:00
if_tlreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_vr.c Add VLAN capability. 2007-04-23 12:19:02 +00:00
if_vrreg.h Add VLAN capability. 2007-04-23 12:19:02 +00:00
if_wb.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_wbreg.h Whitespace nits. 2006-09-15 11:01:23 +00:00
if_xl.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
if_xlreg.h - Use the xl_stats_update() callout instead of if_slowtimo() for 2006-12-06 02:18:41 +00:00
intpm.c Oops, fix intsmb(4) attach. Don't overwrite the 'value' holding the 2007-04-19 17:14:06 +00:00
intpmreg.h Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
locate.pl
ncr.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
ncrreg.h
nfsmb.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
viapm.c Various updates to most of the smbus(4) drivers: 2007-01-11 19:56:24 +00:00
xrpu.c