igb: make ioport free

This patch makes igb driver ioport-free.
This corrects behavior in probe function so as not to request ioport
resources as long as they are not really needed.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
此提交包含在:
Taku Izumi
2008-06-20 12:10:30 +09:00
提交者 Jeff Garzik
父節點 6e4f6f6b40
當前提交 42bfd33ab7
共有 2 個檔案被更改,包括 45 行新增6 行删除

查看文件

@@ -271,6 +271,10 @@ struct igb_adapter {
unsigned int msi_enabled;
u32 eeprom_wol;
/* for ioport free */
int bars;
int need_ioport;
};
enum e1000_state_t {