dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / hal / hald / solaris / devinfo_usb.h
blob4c20ba4f3fd96134240e9f5bcd9c857691cd7509
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 **************************************************************************/
12 #ifndef DEVINFO_USB_H
13 #define DEVINFO_USB_H
15 #include "devinfo.h"
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 */