diff options
author | Andrew Gallatin <gallatin@FreeBSD.org> | 1999-11-22 14:31:55 +0000 |
---|---|---|
committer | Andrew Gallatin <gallatin@FreeBSD.org> | 1999-11-22 14:31:55 +0000 |
commit | 4c6aa17cdcaf4c808adb7a6f6ede0313dffa5b8a (patch) | |
tree | 6ee315dfdb1c44359dbf2ac57c9deb04c8315557 /usr.sbin/config/mkioconf.c | |
parent | 0e7e521cf3e4bbadaba4a1efdbc98102010fd051 (diff) | |
download | src-4c6aa17cdcaf4c808adb7a6f6ede0313dffa5b8a.tar.gz src-4c6aa17cdcaf4c808adb7a6f6ede0313dffa5b8a.zip |
Allow config to generate proper ioconf.c files when devices request DMA
channel 0.
Submitted by: dfr
Notes
Notes:
svn path=/head/; revision=53586
Diffstat (limited to 'usr.sbin/config/mkioconf.c')
-rw-r--r-- | usr.sbin/config/mkioconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index c5c63776888e..db08c434e414 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -117,7 +117,7 @@ write_device_resources(FILE *fp, struct device *dp) fprintf(fp, "\t{ \"msize\",\tRES_INT,\t{ 0x%x }},\n", dp->d_msize); count++; } - if (dp->d_drq > 0) { + if (dp->d_drq >= 0) { fprintf(fp, "\t{ \"drq\",\tRES_INT,\t{ %d }},\n", dp->d_drq); count++; } |