Bugzilla – Bug 661
misplaced assignment in pci script
Last modified: 2005-05-19 04:16:35
You need to log in before you can comment on or make changes to this bug.
The pci script identified my 2915ABG as a 2200BG. In CHECK_ARG the DRIVER variable held the previous value instead of the current one. Here's my patch -u: --- pci-orig 2005-04-08 23:36:51.000000000 +0200 +++ pci 2005-05-16 16:43:12.000000000 +0200 @@ -74,13 +74,12 @@ DEVICE_2200_22="0x8086 0x4224 PCI_ANY_ID PCI_ANY_ID 2915ABG" function check_arg { + DRIVER=${7} PARM=$((${2}+2)) PARM=${!PARM} [ ! -e ${1} ] && return 0 [ "${PARM}" == "PCI_ANY_ID" ] && return 0 [ `cat ${1}` = ${PARM} ] && return 0 - PARM=$((5+2)) - DRIVER=${!PARM} return 1 }
Applied, thanks!
Merged for 1.0.4
Verified the merged patch is in 1.0.4.