misc stuff
Hi,
with the new changes to io.h enabling of HPPA_IOREMAP is really deadly. There are some ioremap in drivers missing. The diff below gets my 712 up again. I guess placing the ioremap to sim700.c would be better, wouldn't it ? And I'm not sure about the size for the ioremap.
Ok, next issue. I've tried the ps2 mouse patch and it's working for me, so how about commiting it ?
And finally I've tested the harmony driver. I don't know whether /dev/dsp should be always little endian, but I had to convert the .wav files to big endian before hearing anything usefull. So should /dev/dsp take native endian or little endian ?
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ Alexander Viro on linux-kernel ]
Quoted 2 lines · Thomas Bogendoerfer
with the new changes to
io.henabling ofHPPA_IOREMAPis really deadly. There are some ioremap in drivers missing. The diff below gets my 712 up again.
oops, forgot the diff.
Thomas.
Index: drivers/gsc/serial.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/gsc/serial.c,v retrieving revision 1.11
gsc/serial.c +1 -1
@@ -66,7 +66,7 @@ serial->type =PORT_16550A ; serial->line = serial_line_nr; - serial->iomem_base = (void *) (((unsigned long ) d->hpa) +0x800 ); + serial->iomem_base = (void *)ioremap ((((unsigned long ) d->hpa) +0x800 ),0x80 ); serial->irq = irq; serial->io_type =SERIAL_IO_MEM ;/* define access method */
Index: drivers/scsi/lasi7xx.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/scsi/lasi7xx.c,v retrieving revision 1.14
scsi/lasi7xx.c +2 -2
@@ -88,7 +88,7 @@ lasi_scsi_callback_700(struct hp_device *d, struct pa_iodc_driver *dri) { hosts_used =sim700_init_host (hosts_tptr,700 , - (unsigned long )d->hpa +LASI_SCSI_CORE_OFFSET , +ioremap ((unsigned long )d->hpa +LASI_SCSI_CORE_OFFSET ,0x100 ),busdevice_alloc_irq (d),OPT_NCR_LE );return (hosts_used ==0 );
@@ -98,7 +98,7 @@ lasi_scsi_callback_710(struct hp_device *d, struct pa_iodc_driver *dri) { hosts_used =sim700_init_host (hosts_tptr,710 , - (unsigned long )d->hpa +LASI_SCSI_CORE_OFFSET , +ioremap ((unsigned long )d->hpa +LASI_SCSI_CORE_OFFSET ,0x100 ),busdevice_alloc_irq (d),0 );return (hosts_used ==0 );
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ Alexander Viro on linux-kernel ]