diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-03 04:30:01 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-03 04:30:01 +0000 |
commit | afbf5b215612958e6a320c26041b7a1e31ee6cf8 (patch) | |
tree | bf29d50ee377ff22fbfcbe78e09f68ce132f8cbc /usr.sbin/config | |
parent | 906c074f8de317bdeb6f0ddc341bae5f55791cce (diff) | |
download | src-afbf5b215612958e6a320c26041b7a1e31ee6cf8.tar.gz src-afbf5b215612958e6a320c26041b7a1e31ee6cf8.zip |
Changes to initialize the id_enabled flag to 1.
Also initialize some fields that were never initialized before, and
simply defaulted to 0. I've never looked at this code before, now
I know why. Config needs to die. Horribly.
Notes
Notes:
svn path=/head/; revision=4110
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkioconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index c34c15bc4b48..299f1fc08eb4 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -689,7 +689,7 @@ isa_biotab(fp, table) continue; fprintf(fp, "{ -1, &%3.3sdriver, %8.8s,", mp->d_name, mp->d_port); - fprintf(fp, "%6.6s, %2d, C 0x%05X, %5d, %8.8s, %2d, 0x%04X, %2d },\n", + fprintf(fp, "%6.6s, %2d, C 0x%05X, %5d, %8.8s, %2d, 0x%04X, %2d, 0, 0, 0, 0, 1 },\n", sirq(mp->d_irq), mp->d_drq, mp->d_maddr, mp->d_msize, shandler(mp), dp->d_unit, dp->d_flags, dp->d_drive); @@ -724,7 +724,7 @@ isa_devtab(fp, table, dev_idp) fprintf(fp, " %8.8s,", dp->d_port); else fprintf(fp, " 0x%04x,", dp->d_portn); - fprintf(fp, "%6.6s, %2d, C 0x%05X, %5d, %8.8s, %2d, 0x%04X },\n", + fprintf(fp, "%6.6s, %2d, C 0x%05X, %5d, %8.8s, %2d, 0x%04X, 0, 0, 0, 0, 0, 1 },\n", sirq(dp->d_irq), dp->d_drq, dp->d_maddr, dp->d_msize, shandler(dp), dp->d_unit, dp->d_flags); |