thorpej
c1e6d1c91f
Use bus_space_mmap() to mmap the aperture.
2001-09-15 00:52:15 +00:00
wdk
919892c3c4
bus_space_mmap support based on -arc implementation
2001-09-15 00:49:53 +00:00
wdk
5b22c13d90
spllpt() for ISA Bus printer support
2001-09-15 00:46:13 +00:00
thorpej
0019ea5ce6
Clean up the AGP match/attach code somewhat.
2001-09-15 00:24:59 +00:00
nathanw
718551d644
Change all instances of "[e]isa* at foo?" to "[e]isa0 at foo?".
...
This prevents attaching multiple [E]ISA buses, which we don't support
(Is there any such thing to support? I'm skeptical) and avoids the
"panic: isaattach: ISA bus already seen" that occurs on some laptops
with docking stations and EISA boxes. Since there is only one [E]ISA bus,
logically, the ISA device probe will still find devices on the
docking station.
This does not address the problem of inserting or removing the docking station
at runtime.
Relevant PRs: kern/6544, port-i386/10392, kern/11627, kern/13557,
install/13865.
2001-09-14 21:44:21 +00:00
wiz
943584f5dc
regen (pci)
2001-09-14 21:42:54 +00:00
nathanw
a089a25a28
Add PCI bus devices.
2001-09-14 21:15:03 +00:00
nathanw
958ea7b111
Add the PCI device.
2001-09-14 21:14:08 +00:00
nathanw
32b0166603
Return ~0 for all config space reads on devices < 11 on the primary bus,
...
rather than returning ~0 for PCI_ID_REG and panicing otherwise.
2001-09-14 21:04:58 +00:00
thorpej
f23828cddd
Don't declare intrhand[] here -- that's taken care of in intr.c.
2001-09-14 19:18:13 +00:00
jdolecek
7f5706b514
fix indentation
2001-09-14 18:29:08 +00:00
thorpej
477798fcac
Fix missing : in a getopt() string.
2001-09-14 17:28:36 +00:00
uch
1877683f2b
HITACHI PERSONA keymap. patch by KIYOHARA Takashi.
2001-09-14 17:22:52 +00:00
uch
a902597034
debug printf change.
2001-09-14 17:12:43 +00:00
uch
a970042213
HITACHI PERSONA keyboard support. patch by KIYOHARA Takashi.
2001-09-14 17:11:51 +00:00
thorpej
915af95ac0
Gather information about the mappable regions of the card at
...
attach time. Allow access to these regions in vga_pci_mmap().
Note: we also have to allow access to the legacy ISA "hole" in
vga_pci_mmap(), since the X server needs to be able to read
the legacy BIOS on many cards.
XXX Need to address the PCI Expansion ROM.
Based on changes from Simon Burge <simonb@wasabisystems.com>.
2001-09-14 16:54:20 +00:00
wiz
b771e65ba1
ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
...
with some fixes by me.
2001-09-14 14:03:59 +00:00
martin
6f67510515
Give the cards a bit more time for initialization (closes PR 13947)
...
and add product IDs for two 3C509 TP variants (closes PR 13948).
Both changes from Christian Groessler.
2001-09-14 13:46:42 +00:00
martin
ffd70ffedb
Add product IDs for 3com 3C509 TP cards.
...
From Christian Groessler in PR 13948.
2001-09-14 13:41:29 +00:00
drochner
9771bc6656
-plug some resource leaks
...
-don't clear memory ranges on "release"
The X server survives a screen switch now.
2001-09-14 12:09:14 +00:00
drochner
f53f5d923d
make the hardware cursor work
2001-09-14 12:05:03 +00:00
ad
6e9cae3be0
Zero out uninitalized fields in the freshly allocated zs_chanstate.
2001-09-14 11:58:39 +00:00
msaitoh
9cd1fceecc
remove obsolete file
2001-09-14 11:39:39 +00:00
simonb
7a40d9c0cf
Use fork() instead of vfork(). The child calls execvp(), which calls
...
strdup(), which calls malloc()...
Fixes problem with "find .. -exec" growing as reported by Kazushi Marukawa
on current-users@.
2001-09-14 08:19:25 +00:00
enami
a79e8e405c
Add pcictl(8).
2001-09-14 07:05:51 +00:00
thorpej
5b09c93a50
Add ioctl and mmap entry points for PCI VGA. ioctl provides
...
passthrough for PCI config space read/write. mmap currently
returns error (to be addressed in a future revision).
2001-09-14 06:46:08 +00:00
itojun
307dd4bc9d
adjust -width for .Bl
2001-09-14 06:30:56 +00:00
simonb
999cfd0c61
Fix tyop.
2001-09-14 06:09:42 +00:00
jlam
6e2d1d87cf
Document the new Motif-related variables. Deprecate USE_MOTIF in favor of
...
including motif.buildlink.mk, which contains more sophisticated and
complete logic for detecting the various Motif options that may be
installed. Though deprecated, USE_MOTIF is still recognized, though it
does no more than include motif.buildlink.mk.
2001-09-14 01:52:39 +00:00
thorpej
b9fffe1967
Allow bus front-end to provide both ioctl and mmap entry points,
...
and also the wsdisplay type.
Based on changes from Simon Burge <simonb@wasabisystems.com>.
2001-09-14 01:10:11 +00:00
briggs
c477d3ad28
Define __BUS_SPACE_HAS_STREAM_METHODS since the functions are there. Noted
...
on tech-kern & port-mac68k by "John Ruschmeyer" <jruschme@mac.com>.
2001-09-14 00:58:08 +00:00
chris
5cb5484ce3
Sprinkle some static and inline into a couple of functions. Remove dead entries from pmap.h.
2001-09-13 23:56:01 +00:00
thorpej
9ed4e90471
Build pcictl.
2001-09-13 23:51:39 +00:00
thorpej
0c91ac689b
pcictl(8) -- a program for frobbing the PCI bus, and also an example
...
of how to use libpci.
Currently has "list" (list devices within a PCI domain) and "dump" (dump
PCI configuration header for a device) sub-commands.
2001-09-13 23:51:04 +00:00
thorpej
3328ec93f7
Build libpci.
2001-09-13 23:49:19 +00:00
gmcgarry
3a9c46ef7c
Minor description clarification.
2001-09-13 23:37:48 +00:00
thorpej
913b93d749
Add LIBPCI.
2001-09-13 23:23:26 +00:00
thorpej
0f4b374296
Add libpci.
2001-09-13 23:21:49 +00:00
eeh
266e77d773
Define SYSDIR if not already defined.
2001-09-13 23:19:59 +00:00
enami
e02d563aae
Sync wi/ reality.
2001-09-13 23:17:22 +00:00
thorpej
e3a72d2e94
Add libpci.
2001-09-13 23:08:33 +00:00
wiz
544ad3afa0
regen for new hp300/apci(4)
2001-09-13 22:55:12 +00:00
wiz
cd060c6c72
regen (pci)
2001-09-13 22:54:24 +00:00
thorpej
16487fdfe0
Add a library to access PCI devices.
2001-09-13 22:52:19 +00:00
chris
5695ad388d
Update pmap_clearbit to flush the cache if the area is being made readonly. Also only do this and the tlb flush if the pmap is the current pmap.
2001-09-13 22:45:23 +00:00
thorpej
6813f628ef
Make pci device nodes.
2001-09-13 22:09:15 +00:00
thorpej
face3e948d
Add "pci" at cdev 83.
2001-09-13 22:08:44 +00:00
thorpej
be6841f414
Oops, didn't intend to enable pcimmap() yet.
2001-09-13 22:00:58 +00:00
thorpej
62a1f0bdde
Add cdev_pci_init().
2001-09-13 21:59:21 +00:00
thorpej
665c8d237d
Add new PCI header files.
2001-09-13 21:54:17 +00:00