2001-03-03 15:13:27

by Andrew Morton

[permalink] [raw]
Subject: [patch] pci_release_region and pci_request_region

2.4.3-pre1 has been uploaded. The following drivers will
not work as modules:

./drivers/net/via-rhine.c
./drivers/net/yellowfin.c
./drivers/net/epic100.c
./drivers/net/8139too.c
./drivers/net/rcpci45.c
./drivers/net/sundance.c

Two new functions need to be exported:

--- linux-2.4.3-pre1/drivers/pci/pci.c Sat Mar 3 20:52:24 2001
+++ linux-akpm/drivers/pci/pci.c Sun Mar 4 02:01:07 2001
@@ -1367,6 +1367,8 @@
EXPORT_SYMBOL(pci_root_buses);
EXPORT_SYMBOL(pci_enable_device);
EXPORT_SYMBOL(pci_find_capability);
+EXPORT_SYMBOL(pci_release_regions);
+EXPORT_SYMBOL(pci_request_regions);
EXPORT_SYMBOL(pci_find_class);
EXPORT_SYMBOL(pci_find_device);
EXPORT_SYMBOL(pci_find_slot);


2001-03-03 17:45:12

by Jeff Garzik

[permalink] [raw]
Subject: Re: [patch] pci_release_region and pci_request_region

Andrew Morton wrote:
>
> 2.4.3-pre1 has been uploaded. The following drivers will
> not work as modules:
>
> ./drivers/net/via-rhine.c
> ./drivers/net/yellowfin.c
> ./drivers/net/epic100.c
> ./drivers/net/8139too.c
> ./drivers/net/rcpci45.c
> ./drivers/net/sundance.c

Bah, life is so much better when everything is compiled into the kernel
anyway :)


> --- linux-2.4.3-pre1/drivers/pci/pci.c Sat Mar 3 20:52:24 2001
> +++ linux-akpm/drivers/pci/pci.c Sun Mar 4 02:01:07 2001
> @@ -1367,6 +1367,8 @@
> EXPORT_SYMBOL(pci_root_buses);
> EXPORT_SYMBOL(pci_enable_device);
> EXPORT_SYMBOL(pci_find_capability);
> +EXPORT_SYMBOL(pci_release_regions);
> +EXPORT_SYMBOL(pci_request_regions);
> EXPORT_SYMBOL(pci_find_class);
> EXPORT_SYMBOL(pci_find_device);
> EXPORT_SYMBOL(pci_find_slot);

Thanks,

Jeff


--
Jeff Garzik | "You see, in this world there's two kinds of
Building 1024 | people, my friend: Those with loaded guns
MandrakeSoft | and those who dig. You dig." --Blondie