diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-02-15 12:04:45 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-02-15 12:04:45 +0000 |
commit | 6d4885a40edc96d6499e50276995833ed5837ca3 (patch) | |
tree | 8e020ab138cf5153364146acf7abef4ee97d6194 /sys | |
parent | 002b801d233b6b9fbe2f1247ea477592a2a2d993 (diff) |
unifdef __OpenBSD__
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/uha.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ic/uha.c b/sys/dev/ic/uha.c index b1508a045a8..273f4c75d24 100644 --- a/sys/dev/ic/uha.c +++ b/sys/dev/ic/uha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uha.c,v 1.40 2021/03/07 06:21:38 jsg Exp $ */ +/* $OpenBSD: uha.c,v 1.41 2022/02/15 12:04:44 jsg Exp $ */ /* $NetBSD: uha.c,v 1.3 1996/10/13 01:37:29 christos Exp $ */ /* * Copyright (c) 1994, 1996 Charles M. Hannum. All rights reserved. @@ -76,6 +76,7 @@ void uha_reset_mscp(struct uha_softc *, struct uha_mscp *); void uha_mscp_free(void *, void *); void *uha_mscp_alloc(void *); void uha_scsi_cmd(struct scsi_xfer *); +int uhaprint(void *, const char *); struct scsi_adapter uha_switch = { uha_scsi_cmd, NULL, NULL, NULL, NULL @@ -87,18 +88,13 @@ struct cfdriver uha_cd = { #define UHA_ABORT_TIMEOUT 2000 /* time to wait for abort (mSec) */ -#ifdef __OpenBSD__ -int uhaprint(void *, const char *); - int uhaprint(void *aux, const char *name) { - if (name != NULL) printf("%s: scsibus ", name); return UNCONF; } -#endif /* * Attach all the sub-devices we can find |