]>
Commit | Line | Data |
---|---|---|
28cd2185 JR |
1 | |
2 | ||
3 | W Makefile'u aic7xxx wlaczone jest -Werror, co powoduje, ze do skompilowania | |
4 | tegoz na alphie potrzebuje takiej brzydkiej latki: | |
5 | ||
6 | *************************************************************** | |
7 | --- linux-2.4.21/drivers/scsi/aic7xxx/aic79xx_osm_pci.c.orig Fri Jul 11 00:40:03 2003 | |
8 | +++ linux-2.4.21/drivers/scsi/aic7xxx/aic79xx_osm_pci.c Fri Jul 11 00:43:22 2003 | |
9 | @@ -52,9 +52,12 @@ | |
10 | const struct pci_device_id *ent); | |
11 | static int ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd, | |
12 | u_long *base, u_long *base2); | |
13 | +#ifdef MMAPIO | |
14 | static int ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd, | |
15 | u_long *bus_addr, | |
16 | uint8_t **maddr); | |
17 | +#endif | |
18 | + | |
19 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) | |
20 | static void ahd_linux_pci_dev_remove(struct pci_dev *pdev); | |
21 | ||
22 | @@ -271,6 +274,7 @@ | |
23 | return (0); | |
24 | } | |
25 | ||
26 | +#ifdef MMAPIO | |
27 | static int | |
28 | ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd, | |
29 | u_long *bus_addr, | |
30 | @@ -318,6 +322,7 @@ | |
31 | error = ENOMEM; | |
32 | return (error); | |
33 | } | |
34 | +#endif | |
35 | ||
36 | int | |
37 | ahd_pci_map_registers(struct ahd_softc *ahd) | |
38 | *************************************************************** | |
39 | ||
40 | -- | |
41 | ======================================================================= | |
42 | Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl | |
43 | phone (48)(58) 347 14 61 | |
44 | Faculty of Applied Phys. & Math., Gdansk University of Technology |