Commit Graph

19 Commits

Author SHA1 Message Date
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