Skip to contentSkip to conversation

aac7xxx iomem annotations

PATCH New [email protected] 1 participant 1 message Oct 20, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aac7xxx iomem annotations

aic7xxx annotations - trivial part

----

drivers/scsi/aic7xxx/aic79xx_osm.h +1 -1
diff -urN RC9-bk4-3w-9xxx/drivers/scsi/aic7xxx/aic79xx_osm.h RC9-bk4-aic-trivial/drivers/scsi/aic7xxx/aic79xx_osm.h
@@ -145,7 +145,7 @@
 
 typedef union {
 	u_long		  ioport;
-	volatile uint8_t *maddr;
+	volatile uint8_t __iomem *maddr;
 } bus_space_handle_t;
 
 typedef struct bus_dma_segment
drivers/scsi/aic7xxx/aic79xx_osm_pci.c +3 -3
diff -urN RC9-bk4-3w-9xxx/drivers/scsi/aic7xxx/aic79xx_osm_pci.c RC9-bk4-aic-trivial/drivers/scsi/aic7xxx/aic79xx_osm_pci.c
@@ -49,7 +49,7 @@
 						 u_long *base, u_long *base2);
 static int	ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd,
 						 u_long *bus_addr,
-						 uint8_t **maddr);
+						 uint8_t __iomem **maddr);
 static void	ahd_linux_pci_dev_remove(struct pci_dev *pdev);
 
 /* Define the macro locally since it's different for different class of chips.
@@ -245,7 +245,7 @@
 static int
 ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd,
 				 u_long *bus_addr,
-				 uint8_t **maddr)
+				 uint8_t __iomem **maddr)
 {
 	u_long	start;
 	u_long	base_page;
@@ -284,7 +284,7 @@
 {
 	uint32_t command;
 	u_long	 base;
-	uint8_t	*maddr;
+	uint8_t	__iomem *maddr;
 	int	 error;
 
 	/*
drivers/scsi/aic7xxx/aic7xxx_osm.h +1 -1
diff -urN RC9-bk4-3w-9xxx/drivers/scsi/aic7xxx/aic7xxx_osm.h RC9-bk4-aic-trivial/drivers/scsi/aic7xxx/aic7xxx_osm.h
@@ -157,7 +157,7 @@
 
 typedef union {
 	u_long		  ioport;
-	volatile uint8_t *maddr;
+	volatile uint8_t __iomem *maddr;
 } bus_space_handle_t;
 
 typedef struct bus_dma_segment
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +3 -3
diff -urN RC9-bk4-3w-9xxx/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c RC9-bk4-aic-trivial/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c
@@ -54,7 +54,7 @@
 						u_long *base);
 static int	ahc_linux_pci_reserve_mem_region(struct ahc_softc *ahc,
 						 u_long *bus_addr,
-						 uint8_t **maddr);
+						 uint8_t __iomem **maddr);
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
 static void	ahc_linux_pci_dev_remove(struct pci_dev *pdev);
 
@@ -326,7 +326,7 @@
 static int
 ahc_linux_pci_reserve_mem_region(struct ahc_softc *ahc,
 				 u_long *bus_addr,
-				 uint8_t **maddr)
+				 uint8_t __iomem **maddr)
 {
 	u_long	start;
 	u_long	base_page;
@@ -370,7 +370,7 @@
 {
 	uint32_t command;
 	u_long	 base;
-	uint8_t	*maddr;
+	uint8_t	__iomem *maddr;
 	int	 error;
 
 	/*