diff --git a/src/sys/isa/fdc.c b/src/sys/isa/fdc.c index f39fbd3..052b5b1 100644 --- a/src/sys/isa/fdc.c +++ b/src/sys/isa/fdc.c @@ -63,10 +63,10 @@ irqEnable(6); reset(); devInfo->major = 0x0; - devInfo->init = fdcInit2; + devInfo->init = (void *)&fdcInit2; devInfo->read = fdcRead; devInfo->write = fdcWrite; - devInfo->reset = reset; + devInfo->reset = (void *)reset; deviceAdd(0,'c',devInfo); devFsMkNod("fd0",'b',0x0,0x0); @@ -306,6 +306,9 @@ /*** $Log$ + Revision 1.9 2004/05/19 15:31:27 reddawg + Fixed up the rest of the references + Revision 1.8 2004/05/19 15:26:33 reddawg Fixed reference issues due to changes in driver subsystem diff --git a/src/sys/pci/hd.c b/src/sys/pci/hd.c index 111f91c..9647958 100644 --- a/src/sys/pci/hd.c +++ b/src/sys/pci/hd.c @@ -63,14 +63,14 @@ /* Alloc memory for device structure and set it up correctly */ devInfo = (struct deviceInterface *)kmalloc(sizeof(struct deviceInterface)); - devInfo->read = &hdRead; - devInfo->write = &hdWrite; - devInfo->reset = &hdReset; - devInfo->init = &hdInit; - devInfo->ioctl = &hdIoctl; - devInfo->stop = &hdStop; - devInfo->start = &hdStart; - devInfo->standby = &hdStandby; + devInfo->read = (void *)&hdRead; + devInfo->write = (void *)&hdWrite; + devInfo->reset = (void *)&hdReset; + devInfo->init = (void *)&hdInit; + devInfo->ioctl = (void *)&hdIoctl; + devInfo->stop = (void *)&hdStop; + devInfo->start = (void *)&hdStart; + devInfo->standby = (void *)&hdStandby; devInfo->info = hdd0; devInfo->major = 1; deviceAdd(0,'c',devInfo); @@ -315,6 +315,9 @@ /*** $Log$ + Revision 1.10 2004/05/19 15:20:06 reddawg + Fixed reference problems due to changes in drive subsystem + Revision 1.9 2004/05/19 15:07:59 reddawg Typo defInfo should of been devInfo