diff --git a/src/sys/pci/hd.c b/src/sys/pci/hd.c index 98e3f14..4bf930c 100644 --- a/src/sys/pci/hd.c +++ b/src/sys/pci/hd.c @@ -223,7 +223,7 @@ outportByte(hdd->hdPort + hdCylHi,(retVal & 0xFF)); retVal >>= 8; retVal &= 0x0F; - retVal |= hdd->hdDev; + retVal |= (hdd->hdDev | 0xA0); //Test As Per TJ outportByte(hdd->hdPort + hdHead,(retVal & 0xFF)); if (hdd->hdShift > 0) outportByte(hdd->hdPort + hdCmd,0xC5); @@ -285,7 +285,7 @@ outportByte(hdd->hdPort + hdCylHi,(retVal & 0xFF)); retVal >>= 8; retVal &= 0x0F; - retVal |= hdd->hdDev; + retVal |= (hdd->hdDev | 0xA0); //Test as per TJ outportByte(hdd->hdPort + hdHead,(retVal & 0xFF)); if (hdd->hdShift > 0) outportByte(hdd->hdPort + hdCmd,0xC4); @@ -315,6 +315,18 @@ /*** $Log$ + Revision 1.12 2004/07/21 10:02:09 reddawg + devfs: renamed functions + device system: renamed functions + fdc: fixed a few potential bugs and cleaned up some unused variables + strol: fixed definition + endtask: made it print out freepage debug info + kmalloc: fixed a huge memory leak we had some unhandled descriptor insertion so some descriptors were lost + ld: fixed a pointer conversion + file: cleaned up a few unused variables + sched: broke task deletion + kprintf: fixed ogPrintf definition + Revision 1.11 2004/05/19 23:36:52 reddawg Bug Fixes