]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- required on AXP, no problem elsewhere
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 11 Jul 2003 14:33:41 +0000 (14:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-2.4.21-aic7xxx-mmapio.patch -> 1.1

linux-2.4.21-aic7xxx-mmapio.patch [new file with mode: 0644]

diff --git a/linux-2.4.21-aic7xxx-mmapio.patch b/linux-2.4.21-aic7xxx-mmapio.patch
new file mode 100644 (file)
index 0000000..00c1bb5
--- /dev/null
@@ -0,0 +1,44 @@
+
+
+W Makefile'u aic7xxx wlaczone jest -Werror, co powoduje, ze do skompilowania
+tegoz na alphie potrzebuje takiej brzydkiej latki:
+
+***************************************************************
+--- linux-2.4.21/drivers/scsi/aic7xxx/aic79xx_osm_pci.c.orig   Fri Jul 11 00:40:03 2003
++++ linux-2.4.21/drivers/scsi/aic7xxx/aic79xx_osm_pci.c        Fri Jul 11 00:43:22 2003
+@@ -52,9 +52,12 @@
+                                       const struct pci_device_id *ent);
+ static int    ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd,
+                                                u_long *base, u_long *base2);
++#ifdef MMAPIO
+ static int    ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd,
+                                                u_long *bus_addr,
+                                                uint8_t **maddr);
++#endif
++
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
+ static void   ahd_linux_pci_dev_remove(struct pci_dev *pdev);
+@@ -271,6 +274,7 @@
+       return (0);
+ }
++#ifdef MMAPIO
+ static int
+ ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd,
+                                u_long *bus_addr,
+@@ -318,6 +322,7 @@
+               error = ENOMEM;
+       return (error);
+ }
++#endif
+ int
+ ahd_pci_map_registers(struct ahd_softc *ahd)
+***************************************************************
+
+-- 
+=======================================================================
+  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
+  phone (48)(58) 347 14 61
+Faculty of Applied Phys. & Math.,   Gdansk University of Technology
This page took 2.264904 seconds and 4 git commands to generate.