1 /***************************************************************************
3 * devinfo_usb.h : definitions for USB devices
5 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6 * Use is subject to license terms.
8 * Licensed under the Academic Free License version 2.1
10 **************************************************************************/
17 #define bcd(a) ((((a) & 0xf000) >> 12) * 1000 + (((a) & 0xf00) >> 8) * 100 + (((a) & 0xf0) >> 4) * 10 + ((a) & 0xf))
19 extern DevinfoDevHandler devinfo_usb_handler
;
21 extern const gchar
*devinfo_keyboard_get_prober(HalDevice
*d
, int *timeout
);
23 HalDevice
*devinfo_usb_add(HalDevice
*parent
, di_node_t node
, char *devfs_path
, char *device_type
);
25 #endif /* DEVINFO_USB_H */