Re: IO ports issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Today, Alan Cox wrote:

> For ISA you probably do want to claim them, for PCI if you are using the
> newer PCI interface (pci_register_module) the system will do a lot of the
> work for you and just bother you about devices that appear/vanish after
> it puts them into sane states
Ok, let me see how many things I still have wrong:
on init I need to call pci_register_module?  ATM I am calling
pci_module_init.  For exit I am calling pci_unregister_driver.

In the init func I am calling pci_enable_device, then pci_resource_start
(to get the IO port base addr) and finally pci_request_regions.  What you
are saying is that I don't need pci_request_regions.

Now, all of this is before I add interrupt handling, DMA, etc...
Is there any doco on this that is consistent?

tom.




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux