Re: New resources - pls, explain :-(

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Fri, 6 Aug 1999 18:37:54 +0200


Hello,

> It's not enough, and it's too much.
>
> Sometimes you can validly have two drivers for two different parts of the
> same PCI device. That device =may= show up as two different functions, but
> that's not guaranteed.

This can be easily handled by having my pci_request_device() request
all the regions the device has. This way usual PCI drivers won't need to
bother with resource allocation and the other ones will be able to do
their magic tricks directly. Okay?

> Think of PCI super-IO devices, for example.

BTW have you ever seen such a chip? I never had...

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Lisp Users: Due to the holiday, there will be no garbage collection on Monday."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/