diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2008-06-20 11:57:02 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-28 10:23:31 -0400 |
commit | 6e4f6f6b408cf3257c65cf4f3e299c098345b72f (patch) | |
tree | 49b8906590d7d695c17d251867fb9b2e741104d6 /drivers/net/e1000e/e1000.h | |
parent | d03157babed7424f5391af43200593768ce69c9a (diff) | |
download | op-kernel-dev-6e4f6f6b408cf3257c65cf4f3e299c098345b72f.zip op-kernel-dev-6e4f6f6b408cf3257c65cf4f3e299c098345b72f.tar.gz |
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 d3bc6f8..4a4f62e 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 { |