Commit Graph

28 Commits

Author SHA1 Message Date
jmcneill
fad06cc1a6 Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present. 2002-01-07 18:05:33 +00:00
tron
559521efa3 Disable broken radio(4) support for bktr(4). The configuration code doesn't
even check if the TV card has a radio tuner.
2002-01-07 12:12:55 +00:00
tron
65aa7d5e7c Clean up preprocess handling of optional radio(4) support a little bit. 2002-01-07 10:43:43 +00:00
tron
6a997e3c73 Compile in radio(4) only it is activated in the kernel configuration. 2002-01-06 23:19:18 +00:00
jmcneill
58d1fe0d04 Add missing definition of STATUSBIT_STEREO. 2002-01-06 15:37:08 +00:00
jmcneill
1eb3eee47c Add basic support for the radio(4) interface. 2002-01-06 02:42:45 +00:00
lukem
ab5d9d2b0c add RCSIDs 2001-11-13 07:24:43 +00:00
wiz
7c90b959da Fix check in device open.
Patch by KUROSAWA Takahiro in kern/14289.
2001-10-18 16:08:05 +00:00
wiz
9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
ross
ac906a109d LP64 a kprintf(9) 2001-03-15 21:59:09 +00:00
mjl
7e6f124451 Correct wrong error return in mmap fn. 2001-03-03 00:08:05 +00:00
wiz
1a40e855c8 Undo pci_intr_map change in non-NetBSD part of the file. 2000-12-30 17:02:53 +00:00
wiz
2ad3fd958d Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
sommerfeld
851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
wiz
d91eb6a0c3 Replace remaining vm_offset_t's in NetBSD code by vaddr_t; remove now
unnecessary casts added by thorpej in 1.11 of bktr_core.c. Strike one
from the TODO list.
2000-10-28 14:50:27 +00:00
wiz
134608261c Merge 2.17 changes to trunk. 2000-10-28 14:31:57 +00:00
wiz
3a2e8fdc05 Use NetBSD's pcidevs file for vendors/cards as much as possible.
Recognize Pinnacle Studio PCTV Rave as Miro card, tested by rh@netbsd.org.
2000-09-03 02:01:32 +00:00
wiz
c01704a9db remove unnecessary #ifdef __NetBSD__'s in #ifdef __FreeBSD__;
move one #include <vm/vm.h> into #ifndef __NetBSD__
2000-07-01 01:53:37 +00:00
wiz
d307475c33 resolve conflicts. 2000-07-01 01:38:58 +00:00
veego
a9d80391d0 Move the include of <vm/vm.h> into the ifndef __NetBSD__ part. 2000-06-30 08:12:10 +00:00
simonb
bfc5613f54 Revert some of the previous mmap() changes that were in "#ifdef FreeBSD"
parts of this file.
2000-06-27 05:14:31 +00:00
mrg
2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb
889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
wiz
56cb02c358 Use bktr_softc.bktr_dev.dv_xname instead of "bktr0" when printf'ing as
requested by Klaus Klein in kern/10166.
Also add device instance name to all printf's that didn't have it.
2000-05-21 15:43:56 +00:00
veego
21942247f3 It is a bad idea to declare a static bootverbose variable here. Remove it. 2000-05-07 14:43:31 +00:00
wiz
2f7dba9ea1 compilation fix 2000-05-07 01:16:23 +00:00
wiz
5f8b869a3e Some NetBSD specific changes; also TODO, and import script, based
on bind2netbsd by Bernd Ernesti
2000-05-07 00:24:33 +00:00
wiz
8b27ce1a70 Import of (finally busspaced) bktr-driver from FreeBSD (part 1).
This version is from the location specified in the README, modified
by bktr2netbsd, to be committed later.
2000-05-07 00:16:17 +00:00