patch-2.3.37 linux/drivers/block/alim15x3.c
Next file: linux/drivers/block/ataflop.c
Previous file: linux/drivers/acorn/block/fd1772.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Jan 6 09:54:06 2000
- Orig file:
v2.3.36/linux/drivers/block/alim15x3.c
- Orig date:
Mon Dec 20 18:48:21 1999
diff -u --recursive --new-file v2.3.36/linux/drivers/block/alim15x3.c linux/drivers/block/alim15x3.c
@@ -609,23 +609,13 @@
unsigned int __init pci_init_ali15x3 (struct pci_dev *dev, const char *name)
{
- struct pci_dev *isa;
unsigned long fixdma_base = dev->resource[4].start;
byte tmpbyte;
unsigned long flags;
pci_read_config_byte(dev, PCI_REVISION_ID, &m5229_revision);
- for (isa = pci_devices; isa; isa=isa->next) {
- /*
- * look for ISA bridge
- */
- if (isa->vendor == PCI_VENDOR_ID_AL &&
- isa->device == PCI_DEVICE_ID_AL_M1533) {
- isa_dev = isa;
- break;
- }
- }
+ isa_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL);
if (!fixdma_base || fixdma_base == PCI_BASE_ADDRESS_IO_MASK) {
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)