Skip to content

e1000,e1000e,igb: make ioport free for adapters that need NO ioport resources

Taku Izumi lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3e1000: make ioport freedrivers/net/e1000/e1000.h drivers/net/e1000/e1000_main.c+80 -124 replies
2/3e1000e: make ioport freedrivers/net/e1000e/e1000.h drivers/net/e1000e/netdev.c+46 -62 replies
3/3igb: make ioport freedrivers/net/igb/igb.h drivers/net/igb/igb_main.c+45 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] e1000,e1000e,igb: make ioport free for adapters that need NO ioport resources

Hi all,

Only a few Intel Gigabit Adapters need ioport resources for workaround, but most do not need them. Most adapters work properly without them. In the case where ioport resources are not assigned to adapters, this can happen on the large system, drivers' probe function fails like the following, and adapters can not be used as a result.

e1000e 0002:22:00.0: device not available because of BAR 2 [0:1f] collisions
e1000e: probe of 0002:22:00.0 failed with error -22

These patches corrects behavior in probe function so as not to request ioport resources as long as they are not really needed. These are based on the ioport-free patch of e1000 driver from Auke Kok and Tomohiro Kusumi.

* [PATCH 1/3] e1000: make ioport free
* [PATCH 2/3] e1000e: make ioport free
* [PATCH 3/3] igb: make ioport free

Best regards,
Taku Izumi <[email protected]>