diff options
author | 1998-04-28 05:41:08 +0000 | |
---|---|---|
committer | 1998-04-28 05:41:08 +0000 | |
commit | 12c3fd86de77d71f69a20e6a68c01c78d88abf55 (patch) | |
tree | 29a92a6c6cc0dc3fd2a23e56eb8c4f6cda7c6182 | |
parent | silence noisy probe() routines (diff) | |
download | wireguard-openbsd-12c3fd86de77d71f69a20e6a68c01c78d88abf55.tar.xz wireguard-openbsd-12c3fd86de77d71f69a20e6a68c01c78d88abf55.zip |
Make kernel compile if we have IDE controller but no wd drive.
-rw-r--r-- | sys/dev/isa/wdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c index 1c6a346c2b2..18f8bb88363 100644 --- a/sys/dev/isa/wdc.c +++ b/sys/dev/isa/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.27 1998/02/22 00:38:40 niklas Exp $ */ +/* $OpenBSD: wdc.c,v 1.28 1998/04/28 05:41:08 angelos Exp $ */ /* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */ /* @@ -246,9 +246,9 @@ wdcattach(parent, self, aux) struct isa_attach_args *ia = aux; #if NWD > 0 int drive; -#endif /* NWD */ bus_space_tag_t iot = wdc->sc_iot; bus_space_handle_t ioh = wdc->sc_ioh; +#endif /* NWD */ TAILQ_INIT(&wdc->sc_xfer); wdc->sc_drq = ia->ia_drq; |