Commit Graph

85353 Commits

Author SHA1 Message Date
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
thorpej
76aa38a6aa Install pcidevs.h, pcidevs_data.h, pciio.h, pcireg.h. 2001-09-13 21:52:30 +00:00
thorpej
23763f2f28 Add an ioctl interface to the PCI bus. Add ioctls to read/write
PCI configuration space registers, and to fetch bus info.
2001-09-13 21:49:40 +00:00
thorpej
829747c527 Allow this file to be used in userspace, as well. 2001-09-13 21:42:57 +00:00
briggs
94a1fb639f Correct the return value description for config_found_sm().
Talk about return values for config_attach(), too.
2001-09-13 21:41:01 +00:00
assar
50ed29b359 (waitproc): handle jp == NULL, it happens 2001-09-13 21:33:05 +00:00
bjh21
2aa509fcfb Remember to call eco_input() for incoming broadcasts. 2001-09-13 19:19:21 +00:00
thorpej
a3dfe45752 ANSI'ify. 2001-09-13 18:25:45 +00:00
jdolecek
5428914eb7 mention GENERIC_PS2TINY for i386 2001-09-13 18:13:46 +00:00
jdolecek
785b85c14a glue in necessary IBM PS/2 kern set bits 2001-09-13 18:09:19 +00:00