Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci ips(4): Missed a couple spots in device_t/softc ...
details: https://anonhg.NetBSD.org/src/rev/2f50df54bd54
branches: trunk
changeset: 361145:2f50df54bd54
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 12 02:58:50 2022 +0000
description:
ips(4): Missed a couple spots in device_t/softc split.
diffstat:
sys/dev/pci/ips.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r ba665306ec0a -r 2f50df54bd54 sys/dev/pci/ips.c
--- a/sys/dev/pci/ips.c Sat Feb 12 02:40:48 2022 +0000
+++ b/sys/dev/pci/ips.c Sat Feb 12 02:58:50 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ips.c,v 1.5 2022/02/12 02:40:39 riastradh Exp $ */
+/* $NetBSD: ips.c,v 1.6 2022/02/12 02:58:50 riastradh Exp $ */
/* $OpenBSD: ips.c,v 1.113 2016/08/14 04:08:03 dlg Exp $ */
/*-
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ips.c,v 1.5 2022/02/12 02:40:39 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ips.c,v 1.6 2022/02/12 02:58:50 riastradh Exp $");
#include "bio.h"
@@ -822,7 +822,7 @@
#if NBIO > 0
/* Install ioctl handler */
- if (bio_register(&sc->sc_dev, ips_ioctl))
+ if (bio_register(sc->sc_dev, ips_ioctl))
device_printf(sc->sc_dev, "no ioctl support\n");
#endif
@@ -1139,7 +1139,7 @@
}
}
- dv = &sc->sc_dev;
+ dv = sc->sc_dev;
strlcpy(bv->bv_dev, device_xname(dv), sizeof(bv->bv_dev));
strlcpy(bv->bv_vendor, "IBM", sizeof(bv->bv_vendor));
Home |
Main Index |
Thread Index |
Old Index