Match such chips using the device ID. We should really be checking the subdevice as well, since a smaller number of 9460 and 9560 devices actually belong to a new series of devices and require different firmware, but that will require some extra logic in iwm_attach(). Submitted by: lwhsu, Guo Wen Jun <blockk2000@gmail.com> MFC after: 2 weeks
19 lines
515 B
Makefile
19 lines
515 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/iwm
|
|
|
|
KMOD= if_iwm
|
|
# Main driver
|
|
SRCS= if_iwm.c if_iwm_binding.c if_iwm_util.c if_iwm_phy_db.c
|
|
SRCS+= if_iwm_mac_ctxt.c if_iwm_phy_ctxt.c if_iwm_time_event.c
|
|
SRCS+= if_iwm_power.c if_iwm_scan.c if_iwm_led.c if_iwm_notif_wait.c
|
|
SRCS+= if_iwm_7000.c if_iwm_8000.c if_iwm_9000.c if_iwm_fw.c if_iwm_9260.c
|
|
SRCS+= if_iwm_sta.c if_iwm_sf.c
|
|
# bus layer
|
|
SRCS+= if_iwm_pcie_trans.c
|
|
SRCS+= device_if.h bus_if.h pci_if.h opt_wlan.h opt_iwm.h
|
|
|
|
CFLAGS+= -DIWM_DEBUG
|
|
|
|
.include <bsd.kmod.mk>
|