diff options
author | dfr <dfr@FreeBSD.org> | 2000-09-29 13:36:47 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-09-29 13:36:47 +0000 |
commit | fa6af7ab3eed1a53d0df517fc2c374fd886c6e63 (patch) | |
tree | e88ce60d46c9582087f1a66ba66c80e42062e113 /usr.sbin/config | |
parent | 0c17b5646b168002db563bffc60b7fa2db5d3b00 (diff) | |
download | FreeBSD-src-fa6af7ab3eed1a53d0df517fc2c374fd886c6e63.zip FreeBSD-src-fa6af7ab3eed1a53d0df517fc2c374fd886c6e63.tar.gz |
Add ia64 support.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/config.h | 1 | ||||
-rw-r--r-- | usr.sbin/config/config.y | 3 | ||||
-rw-r--r-- | usr.sbin/config/main.c | 1 | ||||
-rw-r--r-- | usr.sbin/config/mkoptions.c | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 3964211..d63569b 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -99,6 +99,7 @@ char *machinename; #define MACHINE_I386 1 #define MACHINE_PC98 2 #define MACHINE_ALPHA 3 +#define MACHINE_IA64 4 /* * For each machine, a set of CPU's may be specified as supported. diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 5d12b9d..a0352b5 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -120,6 +120,9 @@ Config_spec: } else if (!strcmp($2, "alpha")) { machine = MACHINE_ALPHA; machinename = "alpha"; + } else if (!strcmp($2, "ia64")) { + machine = MACHINE_IA64; + machinename = "ia64"; } else yyerror("Unknown machine type"); } | diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index 318d0d5..d803325 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -168,6 +168,7 @@ main(int argc, char **argv) case MACHINE_I386: case MACHINE_PC98: case MACHINE_ALPHA: + case MACHINE_IA64: break; default: diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index 25bbecc..da0fba4 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -59,6 +59,7 @@ static struct users { { 8, 2, 512 }, /* MACHINE_I386 */ { 8, 2, 512 }, /* MACHINE_PC98 */ { 8, 2, 512 }, /* MACHINE_ALPHA */ + { 8, 2, 512 }, /* MACHINE_IA64 */ }; #define NUSERS (sizeof (users) / sizeof (users[0])) |