Cosmetic code changes
authorJohn Hodge <[email protected]>
Tue, 7 Sep 2010 06:41:31 +0000 (14:41 +0800)
committerJohn Hodge <[email protected]>
Tue, 7 Sep 2010 06:41:31 +0000 (14:41 +0800)
Modules/IPStack/ipv4.c
Modules/Storage/FDD/fdd.c

index 672b4ec..e2f18f8 100644 (file)
@@ -69,7 +69,7 @@ int IPv4_SendPacket(tInterface *Iface, tIPv4 Address, int Protocol, int ID, int
        tIPv4Header     *hdr = (void*)buf;
         int    ret;
        
        tIPv4Header     *hdr = (void*)buf;
         int    ret;
        
-       // TODO: OUTPUT Firewall rule go here
+       // OUTPUT Firewall rule go here
        ret = IPTablesV4_TestChain("OUTPUT",
                &Iface->IP4.Address, &Address,
                Protocol, 0,
        ret = IPTablesV4_TestChain("OUTPUT",
                &Iface->IP4.Address, &Address,
                Protocol, 0,
index 4a9ec2d..bd117e1 100644 (file)
@@ -69,7 +69,7 @@ enum FloppyPorts {
 
 enum FloppyCommands {
        FIX_DRIVE_DATA  = 0x03,
 
 enum FloppyCommands {
        FIX_DRIVE_DATA  = 0x03,
-       HECK_DRIVE_STATUS       = 0x04,
+       CHECK_DRIVE_STATUS      = 0x04,
        CALIBRATE_DRIVE = 0x07,
        CHECK_INTERRUPT_STATUS = 0x08,
        SEEK_TRACK              = 0x0F,
        CALIBRATE_DRIVE = 0x07,
        CHECK_INTERRUPT_STATUS = 0x08,
        SEEK_TRACK              = 0x0F,
@@ -213,7 +213,7 @@ int FDD_Install(char **Arguments)
 void FDD_UnloadModule()
 {
         int    i;
 void FDD_UnloadModule()
 {
         int    i;
-       //DevFS_DelDevice( &gFDD_DriverInfo );
+       DevFS_DelDevice( &gFDD_DriverInfo );
        Mutex_Acquire(&glFDD);
        for(i=0;i<4;i++) {
                Time_RemoveTimer(gFDD_Devices[i].timer);
        Mutex_Acquire(&glFDD);
        for(i=0;i<4;i++) {
                Time_RemoveTimer(gFDD_Devices[i].timer);

UCC git Repository :: git.ucc.asn.au