summaryrefslogtreecommitdiff
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorTaku Izumi <izumi.taku@jp.fujitsu.com>2008-06-20 07:10:30 +0400
committerJeff Garzik <jgarzik@redhat.com>2008-06-28 18:23:32 +0400
commit42bfd33ab7bce7d2abaa8bd968ae9ad0dc9a4771 (patch)
treec2f734a25d1d87eaea76d5bcbb59a21725264452 /drivers/net/igb/igb.h
parent6e4f6f6b408cf3257c65cf4f3e299c098345b72f (diff)
downloadlinux-42bfd33ab7bce7d2abaa8bd968ae9ad0dc9a4771.tar.xz
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>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 6b2e7d351d65..0eecb8b2abd2 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -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 {