aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/net/r8169.h
diff options
context:
space:
mode:
authorAndrei Faur <da3drus@gmail.com>2010-06-22 19:41:58 +0300
committerMichael Brown <mcb30@ipxe.org>2010-06-23 01:06:29 +0100
commitf658d7daba3ec07a7150ef29de43317339b8f9a9 (patch)
tree36193b0e0db5d47c477f3685e0adc5dcb1d4c8be /src/drivers/net/r8169.h
parent21682afe6905ddc566159471bdb1a51e376e2af1 (diff)
downloadipxe-f658d7daba3ec07a7150ef29de43317339b8f9a9.zip
ipxe-f658d7daba3ec07a7150ef29de43317339b8f9a9.tar.gz
ipxe-f658d7daba3ec07a7150ef29de43317339b8f9a9.tar.bz2
[r8169] Remove driver cfg lookup, use pci_device_id->driver_data instead
This patch removes the cfg lookup made in the r8169 driver and replaces it with equivalent information found in the driver_data field of the pci_device_id structure. Signed-off-by: Andrei Faur <da3drus@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/r8169.h')
-rw-r--r--src/drivers/net/r8169.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/net/r8169.h b/src/drivers/net/r8169.h
index 174ebb9..bcf3df0 100644
--- a/src/drivers/net/r8169.h
+++ b/src/drivers/net/r8169.h
@@ -440,7 +440,6 @@ struct rtl8169_private {
int chipset;
int mac_version;
- int cfg_index;
u16 intr_event;
struct io_buffer *tx_iobuf[NUM_TX_DESC];