cvs commit: src/sys/dev/pci pci.c

Yuriy Tsibizov Yuriy.Tsibizov at gfk.ru
Sat Oct 21 10:24:22 UTC 2006


> jmg         2006-10-20 21:28:11 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/dev/pci          pci.c
>  Log:
>  fix tab indentation for CP and RV...
>
>  If the length is zero, catch this early, instead of making dflen go negative
>  and letting bad things happen...  We also check to see if RV (checksum) is
>  0, and handle that has a checksum failure...
>
>  Properly handle checksum failures by not processing read-write VPD data,
>  and removing all the found read-only data...
>
>  Tested by:      oleg (dflen going negative)

John-Mark,

what 'bad things' will not happen? I see that commited patch differs from 
one you posted earlier on cvs-src which (possibly) caused my Realtek PCIE 
network card to change it's PCI id (as described in message to -current, 
under 'RE:ASUS U5F hangs during PCI bus probe' subject).

Are there any possibility to check arguments of pci_read_vpd_reg to make 
shure it will write only in correct PCI configuration register?

Yuriy.

p.s. Please keep me in to/cc, I'm currently off-list.




More information about the cvs-src mailing list