1# $FreeBSD$ 2 3MAINTAINER = n_hibma@freebsd.org 4S = ${.CURDIR}/../.. 5 6.PATH: $S/dev/usb $S/pci 7KMOD = usb 8SRCS = bus_if.h device_if.h usb_if.h usb_if.c \ 9 vnode_if.h \ 10 opt_usb.h \ 11 hid.c hid.h usbhid.h \ 12 uhub.c \ 13 usb.c usb.h \ 14 usb_mem.h \ 15 usb_port.h \ 16 usb_quirks.c usb_quirks.h \ 17 usb_subr.c \ 18 usbdevs.h usbdevs_data.h \ 19 usbdi.c usbdi.h usbdivar.h \ 20 usbdi_util.c usbdi_util.h 21 22SRCS += uhci_pci.c uhci.c uhcireg.h uhcivar.h 23SRCS += ohci_pci.c ohci.c ohcireg.h ohcivar.h 24SRCS += opt_bus.h pci_if.h 25 26NOMAN = 27 28opt_usb.h: 29 echo > opt_usb.h 30# echo "#define USB_DEBUG 1" >> opt_usb.h 31# echo "#define UHCI_DEBUG 1" >> opt_usb.h 32# echo "#define OHCI_DEBUG 1" >> opt_usb.h 33 34usb_devs.h: 35 perl $S/kern/makedevlist.pl -h $S/dev/usb/usb.devs 36 37.include <bsd.kmod.mk> 38