diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2008-06-20 04:57:02 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-28 16:23:31 +0200 |
commit | 6e4f6f6b408cf3257c65cf4f3e299c098345b72f (patch) | |
tree | 49b8906590d7d695c17d251867fb9b2e741104d6 /drivers/net/e1000e/e1000.h | |
parent | e1000: remove PCI Express device IDs (diff) | |
download | linux-6e4f6f6b408cf3257c65cf4f3e299c098345b72f.tar.xz linux-6e4f6f6b408cf3257c65cf4f3e299c098345b72f.zip |
e1000e: make ioport free
This patch makes e1000e 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/e1000e/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index d3bc6f8101fa..4a4f62e002b2 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h @@ -283,6 +283,10 @@ struct e1000_adapter { unsigned long led_status; unsigned int flags; + + /* for ioport free */ + int bars; + int need_ioport; }; struct e1000_info { |