diff --git a/sm5/atacmds.c b/sm5/atacmds.c index 2155f09cc777055a33569e007fc71bbe13d3e1d3..1dec9132341ed96f31caf51f4cc26f26f695de37 100644 --- a/sm5/atacmds.c +++ b/sm5/atacmds.c @@ -29,7 +29,7 @@ #include <errno.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.c,v 1.23 2002/10/24 11:16:51 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.c,v 1.24 2002/10/26 06:27:35 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -158,7 +158,7 @@ int ataReadHDIdentity (int device, struct hd_driveid *buf){ memcpy(buf,parms+HDIO_DRIVE_CMD_HDR_SIZE,sizeof(*buf)); // Note -- the declaration that appears in - // /usr/include/linux/hdregs.h: short words160_255[95], is WRONG. + // /usr/include/linux/hdreg.h: short words160_255[95], is WRONG. // It should say: short words160_255[96]. I have written to Andre // Hedrick about this on Oct 17 2002. Please remove this comment // once the fix has made it into the stock kernel tree. diff --git a/sm5/atacmds.cpp b/sm5/atacmds.cpp index bb116e56f1b5be2992130fd6d7ca6cf35a665ac2..7b648cd10806bbf79f8c2b7053aff22ce8d96956 100644 --- a/sm5/atacmds.cpp +++ b/sm5/atacmds.cpp @@ -29,7 +29,7 @@ #include <errno.h> #include "atacmds.h" -const char *CVSid1="$Id: atacmds.cpp,v 1.23 2002/10/24 11:16:51 ballen4705 Exp $" CVSID1; +const char *CVSid1="$Id: atacmds.cpp,v 1.24 2002/10/26 06:27:35 ballen4705 Exp $" CVSID1; // These Drive Identity tables are taken from hdparm 5.2, and are also // given in the ATA/ATAPI specs for the IDENTIFY DEVICE command. Note @@ -158,7 +158,7 @@ int ataReadHDIdentity (int device, struct hd_driveid *buf){ memcpy(buf,parms+HDIO_DRIVE_CMD_HDR_SIZE,sizeof(*buf)); // Note -- the declaration that appears in - // /usr/include/linux/hdregs.h: short words160_255[95], is WRONG. + // /usr/include/linux/hdreg.h: short words160_255[95], is WRONG. // It should say: short words160_255[96]. I have written to Andre // Hedrick about this on Oct 17 2002. Please remove this comment // once the fix has made it into the stock kernel tree.