Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Another compat define.
details: https://anonhg.NetBSD.org/src/rev/153f3c760739
branches: trunk
changeset: 480574:153f3c760739
user: augustss <augustss%NetBSD.org@localhost>
date: Sun Jan 16 09:34:18 2000 +0000
description:
Another compat define.
diffstat:
sys/dev/usb/usb_port.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 00857109fc61 -r 153f3c760739 sys/dev/usb/usb_port.h
--- a/sys/dev/usb/usb_port.h Sun Jan 16 09:32:56 2000 +0000
+++ b/sys/dev/usb/usb_port.h Sun Jan 16 09:34:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_port.h,v 1.16 1999/11/18 23:32:31 augustss Exp $ */
+/* $NetBSD: usb_port.h,v 1.17 2000/01/16 09:34:18 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -65,6 +65,7 @@
#define USBDEV(bdev) (&(bdev))
#define USBDEVNAME(bdev) ((bdev).dv_xname)
#define USBDEVPTRNAME(bdevptr) ((bdevptr)->dv_xname)
+#define USBGETSOFTC(d) ((void *)(d))
#define DECLARE_USB_DMA_T \
struct usb_dma_block; \
@@ -186,6 +187,7 @@
#define USBDEV(bdev) (&(bdev))
#define USBDEVNAME(bdev) ((bdev).dv_xname)
#define USBDEVPTRNAME(bdevptr) ((bdevptr)->dv_xname)
+#define USBGETSOFTC(d) ((void *)(d))
#define DECLARE_USB_DMA_T \
struct usb_dma_block; \
@@ -280,6 +282,7 @@
#define USBDEV(bdev) (bdev)
#define USBDEVNAME(bdev) device_get_nameunit(bdev)
#define USBDEVPTRNAME(bdev) device_get_nameunit(bdev)
+#define USBGETSOFTC(bdev) (device_get_softc(bdev))
#define DECLARE_USB_DMA_T typedef void * usb_dma_t
Home |
Main Index |
Thread Index |
Old Index