1193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/rtwn/pci 27453645fSAndriy Voskoboinyk 3193d9e76SEnji CooperSYSDIR?=${SRCTOP}/sys 47453645fSAndriy Voskoboinyk.include "${SYSDIR}/conf/kern.opts.mk" 57453645fSAndriy Voskoboinyk 67453645fSAndriy VoskoboinykKMOD = if_rtwn_pci 77453645fSAndriy VoskoboinykSRCS = rtwn_pci_attach.c rtwn_pci_reg.c rtwn_pci_rx.c rtwn_pci_tx.c \ 87453645fSAndriy Voskoboinyk rtwn_pci_attach.h rtwn_pci_reg.h rtwn_pci_rx.h rtwn_pci_tx.h \ 97453645fSAndriy Voskoboinyk rtwn_pci_var.h \ 107453645fSAndriy Voskoboinyk device_if.h bus_if.h pci_if.h \ 117453645fSAndriy Voskoboinyk opt_bus.h opt_rtwn.h opt_wlan.h 127453645fSAndriy Voskoboinyk 13193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8192c/pci 147453645fSAndriy VoskoboinykSRCS += r92ce_attach.c r92ce_calib.c r92ce_fw.c r92ce_init.c r92ce_led.c \ 157453645fSAndriy Voskoboinyk r92ce_rx.c r92ce_tx.c \ 167453645fSAndriy Voskoboinyk r92ce.h r92ce_priv.h r92ce_reg.h r92ce_rx_desc.h r92ce_tx_desc.h 177453645fSAndriy Voskoboinyk 18*b3f3786eSAndriy Voskoboinyk.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8188e/pci 19*b3f3786eSAndriy VoskoboinykSRCS += r88ee_attach.c r88ee_init.c r88ee_rx.c \ 20*b3f3786eSAndriy Voskoboinyk r88ee.h r88ee_reg.h 21*b3f3786eSAndriy Voskoboinyk 227453645fSAndriy Voskoboinykopt_rtwn.h: 237453645fSAndriy Voskoboinyk @echo "#define RTWN_DEBUG 1" > ${.TARGET} 247453645fSAndriy Voskoboinyk.if ${MK_SOURCELESS_UCODE} == "no" 257453645fSAndriy Voskoboinyk @echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET} 267453645fSAndriy Voskoboinyk.endif 277453645fSAndriy Voskoboinyk 287453645fSAndriy Voskoboinyk.include <bsd.kmod.mk> 29