Messages in this thread | | | Date | Fri, 18 Feb 2000 01:33:12 -0800 (PST) | From | Andre Hedrick <> | Subject | Re: [PATCH 2.3.x] IDE probe fix |
| |
On Fri, 18 Feb 2000, Geert Uytterhoeven wrote:
> > This patch fixes a compile problem on m68k, where ide_ioreg_t is typedef'd as > `unsigned char *'. > > As per the ANSI/ISO C standard, the difference between two variables of the > same type is always of an integer type. > > --- native-2.3.47-pre3/drivers/block/ide-probe.c Thu Feb 17 20:22:56 2000 > +++ /tmp/ide-probe.c Fri Feb 18 08:45:43 2000 > @@ -406,7 +406,7 @@ > ide_ioreg_t ide_control_reg = hwif->io_ports[IDE_CONTROL_OFFSET]; > ide_ioreg_t region_low = hwif->io_ports[IDE_DATA_OFFSET]; > ide_ioreg_t region_high = region_low; > - ide_ioreg_t region_request = 8; > + unsigned int region_request = 8; > int i;
Geert,
I had revamped the ide-probe to grab and register each ioport on an item basis, but that did not make it yet :-( There is still an ugly somewhere to clean that is not up to par.....
Andre Hedrick The Linux ATA/IDE guy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |