summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ukbd.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1998-12-13 22:27:42 +0000
committern_hibma <n_hibma@FreeBSD.org>1998-12-13 22:27:42 +0000
commit7a761ba5faf0354eee1c638a4fed831e3a2790bd (patch)
treee3458a58061364be8398090570e67313d8bf8e37 /sys/dev/usb/ukbd.c
parentc07885f31ed390400039a68097f52ac394855c28 (diff)
downloadFreeBSD-src-7a761ba5faf0354eee1c638a4fed831e3a2790bd.zip
FreeBSD-src-7a761ba5faf0354eee1c638a4fed831e3a2790bd.tar.gz
Updated USB kernel sources to NetBSD sources of 1998-12-09.
1 bug fix and several textual changes. Preparing to feed back changes for port into NetBSD to create one source base.
Diffstat (limited to 'sys/dev/usb/ukbd.c')
-rw-r--r--sys/dev/usb/ukbd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c
index 57501a9..2e86914 100644
--- a/sys/dev/usb/ukbd.c
+++ b/sys/dev/usb/ukbd.c
@@ -382,7 +382,6 @@ bLength=%d bDescriptorType=%d bEndpointAddress=%d-%s bmAttributes=%d wMaxPacketS
}
-#if defined(__FreeBSD__)
int
ukbd_detach(device_t self)
{
@@ -397,20 +396,8 @@ ukbd_detach(device_t self)
free(devinfo, M_USB);
}
- /* good bye, and thanks for all the fish */
- ukbd_set_leds(sc, NUM_LOCK);
- DELAY(50000);
- ukbd_set_leds(sc, CAPS_LOCK);
- DELAY(30000);
- ukbd_set_leds(sc, SCROLL_LOCK);
- DELAY(20000);
- ukbd_set_leds(sc, CAPS_LOCK);
- DELAY(15000);
- ukbd_set_leds(sc, NUM_LOCK);
-
return 0;
}
-#endif
void
OpenPOWER on IntegriCloud