[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>
This commit is contained in:
Andrei Faur
2010-06-22 19:41:58 +03:00
committed by Michael Brown
parent 21682afe69
commit f658d7daba
2 changed files with 11 additions and 66 deletions

View File

@@ -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];