[EMAIL PROTECTED] wrote:
From: Jeff Garzik <[EMAIL PROTECTED]>

The driver wrongly claimed I/O ports at an address returned by pci_iomap()
-- even if it was passed an MMIO address.  Fix this by claiming/releasing
all PCI resources in the PCI driver probe/remove handlers instead and get
rid of the must_free_region flag weirdness (why would Cardbus claim
anything for us?).

Also, the remove handler was trying to talk to the chip after having
disabled its address decoders (at least on x86) -- fix this and get rid of
useless VORTEX_PCI() calls.

While at it, fix some cases of the overly indented code...

Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]>
Cc: Jeff Garzik <[EMAIL PROTECTED]>

- Would prefer that vortex_init_one() do the `goto out_release;' thing
  rather than having multiple cleanup-then-return points.

- I don't remember the story with cardbus either.  Presumably once upon a
  time the cardbus layer was claiming IO regions on behalf of cardbus
  devices (?)

Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>

ACK + HOLD, waiting to see if someone actually tested it

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to