1999-06-12 15:00:19 +00:00
|
|
|
# Makefile for the bktr Brooktree Bt848/Bt878 PCI video capture device
|
|
|
|
# Using the new FreeBSD 4.x device driver API (newbus) the Bt848 driver
|
|
|
|
# can be loaded dynamically both in the boot loader phase and once
|
|
|
|
# the system has booted.
|
|
|
|
# The driver can also be unloaded, recompiled and reloaded.
|
|
|
|
#
|
|
|
|
# Use kldload bktr and kldunload bktr to load/unload the driver
|
|
|
|
#
|
|
|
|
# Note - as the driver requires contiguous memory, loading the driver once
|
|
|
|
# memory has filled or become fragmented may fail.
|
|
|
|
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1999-06-12 15:00:19 +00:00
|
|
|
|
1999-11-28 18:53:47 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/bktr
|
1999-09-28 07:23:59 +00:00
|
|
|
KMOD= bktr
|
|
|
|
SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \
|
|
|
|
bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \
|
|
|
|
pci_if.h vnode_if.h
|
1999-11-28 18:53:47 +00:00
|
|
|
CLEANFILES= bktr.h smbus.h
|
1999-06-12 15:00:19 +00:00
|
|
|
|
|
|
|
bktr.h:
|
|
|
|
echo "#define NBKTR 1" > bktr.h
|
|
|
|
|
1999-09-28 07:23:59 +00:00
|
|
|
# Does not use SMBUS/IICBUS. Uses the old i2c code self contained in
|
|
|
|
# the bt848 driver.
|
1999-06-12 15:00:19 +00:00
|
|
|
smbus.h:
|
|
|
|
echo "#define NSMBUS 0" > smbus.h
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|