diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-05-30 14:12:06 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-05-30 14:12:06 +0000 |
commit | 5c64522858e96e82287b3b310862033f51fcc8f5 (patch) | |
tree | 3bd41491634e18100c7012490c235193c914c324 | |
parent | 432f44f5e4e6229fdaf7fedd3f4695902214fd90 (diff) | |
download | src-5c64522858e96e82287b3b310862033f51fcc8f5.tar.gz src-5c64522858e96e82287b3b310862033f51fcc8f5.zip |
Add i386 support, and reorder machine #ifdefs to be in alphanumeric order.
Notes
Notes:
svn path=/head/; revision=1636
-rw-r--r-- | usr.bin/systat/disks.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/usr.bin/systat/disks.c b/usr.bin/systat/disks.c index f412e30039c4..24606a3af444 100644 --- a/usr.bin/systat/disks.c +++ b/usr.bin/systat/disks.c @@ -54,11 +54,17 @@ static struct nlist namelist[] = { { "_dk_ndrive" }, #define X_DK_WPMS 1 { "_dk_wpms" }, -#ifdef vax -#define X_MBDINIT (X_DK_WPMS+1) - { "_mbdinit" }, -#define X_UBDINIT (X_DK_WPMS+2) - { "_ubdinit" }, +#if defined(hp300) || defined(luna68k) +#define X_HPDINIT (X_DK_WPMS+1) + { "_hp_dinit" }, +#endif +#if defined(i386) +#define X_ISA_BIO (X_DK_WPMS+1) + { "_isa_devtab_bio" }, +#endif +#ifdef mips +#define X_SCSI_DINIT (X_DK_WPMS+1) + { "_scsi_dinit" }, #endif #ifdef sun #define X_MBDINIT (X_DK_WPMS+1) @@ -68,13 +74,11 @@ static struct nlist namelist[] = { #define X_VBDINIT (X_DK_WPMS+1) { "_vbdinit" }, #endif -#if defined(hp300) || defined(luna68k) -#define X_HPDINIT (X_DK_WPMS+1) - { "_hp_dinit" }, -#endif -#ifdef mips -#define X_SCSI_DINIT (X_DK_WPMS+1) - { "_scsi_dinit" }, +#ifdef vax +#define X_MBDINIT (X_DK_WPMS+1) + { "_mbdinit" }, +#define X_UBDINIT (X_DK_WPMS+2) + { "_ubdinit" }, #endif { "" }, }; |