soda
663add1b20
use PCI_INTERRUPT_PIN_MAX and I386_PCI_INTERRUPT_LINE_NO_CONNECTION,
...
instead of magic number
2000-07-18 11:23:28 +00:00
mrg
b564830503
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:44:03 +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
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
thorpej
2128a07943
Put an interrupt-safe mutex around PCI configuration space access.
1999-12-11 20:48:25 +00:00
drochner
c6ca838916
defopt PCI_CONF_MODE
1999-01-28 12:43:13 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
drochner
d1da31d671
redo the PCI configuration mode detection - should make some less
...
standard compliant PCI chipsets work (Compaq, Connectix emulated Triton)
fix the bug reported in PR port-i386/5727 (soda@sra.co.jp )
1998-07-09 20:19:52 +00:00
thorpej
66f9322f5f
EISA and PCI do not require bouncing; specify a bounce threshold of 0.
1998-06-03 06:35:49 +00:00
thorpej
c099eb3a4a
Add a function, pci_bus_flags(), that determines which flags (for memory
...
and i/o enabled) should be passed to the primary PCI bus's autconfiguration
node. Use this function to detect broken PCI-Host bridges, which have
problems with memory-mapped access. Add the SIS 85C496 to this list.
1998-05-04 18:49:07 +00:00
thorpej
ff701f8abb
Garbage-collect the DMA tag's "_cookie" member; it's not used for anything.
1998-04-26 22:37:20 +00:00
thorpej
63bad43fa4
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:28:40 +00:00
thorpej
01daecba3a
Implement pci_decompose_tag().
1996-12-17 01:55:56 +00:00
fvdl
753949629e
Make this compile again if PCI_CONF_MODE is defined (unused label).
1996-10-24 12:32:29 +00:00
christos
bd73314ed9
backout previous kprintf changes
1996-10-13 03:19:38 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
cgd
79e0a8a2b9
update for addition of a machine-dependent cookie as the first argument
...
to isa_intr_{,dis}establish().
1996-04-11 22:15:08 +00:00
mycroft
30c174cdcf
Use a more standard and more sane error cleanup convention...
1996-03-27 06:49:54 +00:00
cgd
da3136aba8
modify these to provide a new, better-specified PCI interface
...
(soon to be documented on mailing lists; eventually in section 9 manual
pages), most importantly:
(1) support interrupt pin swizzling on non-i386 systems with
PCI-PCI bridges (per PPB spec; done, but meaningless, on i386).
(2) provide pci_{io,mem}_find(), to determine what I/O or memory
space is described by a given PCI configuration space
mapping register.
(3) provide pci_intr_map(), pci_intr_string(), and
pci_intr_{,dis}establish() to manipulate and print info about
PCI interrupts.
(4) deprecate the pci_map_* functions, and provide them only
as compatibility interfaces (in pci_compat.c) which will
eventually go away, implemented as wrappers around
the functions described above.
(5) make pci functions take as an argument a machine-dependent
cookie, to allow more flexibility in implementation.
1996-03-27 04:01:10 +00:00
cgd
c8487c701e
reorganize mapping register definitions
1996-03-04 19:30:50 +00:00
cgd
591c6fd2cd
make PCI bus match/attach and sub-device attachment machine-independent.
...
(remove that code from this file.)
1996-02-28 01:50:02 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
cgd
0d41f58879
fix a pasto
1995-07-27 21:39:59 +00:00
mycroft
fc427776a7
Add stuff for I/O mapping.
1995-07-27 00:29:02 +00:00
cgd
3722386a41
use new pcireg.h macros
1995-06-18 02:36:41 +00:00
mycroft
1922f9e648
Use the memory mapping set up by the BIOS.
1995-06-05 03:07:34 +00:00
cgd
471cfd3fc5
define pcicd, pciattach() here now.
1995-05-23 03:43:58 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
mycroft
e25c1817cf
kernel_pmap --> pmap_kernel()
1995-04-10 13:08:28 +00:00
cgd
249527c4f1
move mi pci files to /sys/dev
1995-01-27 05:46:39 +00:00
mycroft
93a0c4a258
Add interrupt sharing types.
1995-01-03 01:42:11 +00:00
mycroft
ff315ba9a4
Don't turn on the SCE bit in the enable register.
1994-12-28 19:45:41 +00:00
mycroft
35cdd801e6
Convert port, IRQ, and DRQ numbers to ints.
1994-11-18 21:57:40 +00:00
mycroft
29414c5a0a
Change all of the uses of IRQ{0-15} and bit masks to use plain numbers
...
rather than bit shifting.
1994-11-04 18:34:50 +00:00
mycroft
94cde915db
Rename pciprobe() to pcimatch(), and move it to pci_machdep.c.
1994-11-03 22:27:16 +00:00
cgd
022ee8f7fe
new RCS ID format.
1994-10-27 04:14:23 +00:00
mycroft
e4bc47c9fc
Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
...
do it anyway.
1994-09-06 01:25:22 +00:00
mycroft
55b11feb0a
Update some comments.
1994-08-10 04:37:52 +00:00
mycroft
6df721be97
Add PCI autoconfiguration support.
1994-08-09 00:47:46 +00:00