X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fcyclades.h;h=46d8254c1a792a59d52471723b761482399af3bf;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=cc598507b8137215926be33c0acb03288256ddfd;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h index cc598507b..46d8254c1 100644 --- a/include/linux/cyclades.h +++ b/include/linux/cyclades.h @@ -511,8 +511,8 @@ struct resource; struct cyclades_card { unsigned long base_phys; unsigned long ctl_phys; - unsigned long base_addr; - unsigned long ctl_addr; + void __iomem *base_addr; + void __iomem *ctl_addr; int irq; int num_chips; /* 0 if card absent, -1 if Z/PCI, else Y */ int first_line; /* minor number of first channel on card */ @@ -539,9 +539,9 @@ struct cyclades_chip { * (required to support Alpha systems) * ***************************************/ -#define cy_writeb(port,val) {writeb((ucchar)(val),(ulong)(port)); mb();} -#define cy_writew(port,val) {writew((ushort)(val),(ulong)(port)); mb();} -#define cy_writel(port,val) {writel((uclong)(val),(ulong)(port)); mb();} +#define cy_writeb(port,val) {writeb((val),(port)); mb();} +#define cy_writew(port,val) {writew((val),(port)); mb();} +#define cy_writel(port,val) {writel((val),(port)); mb();} #define cy_readb(port) readb(port) #define cy_readw(port) readw(port)