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
jdolecek
41f3e70221
build GENERIC_PS2TINY and make kern-ps2tiny kern set
2001-09-13 18:08:13 +00:00
jdolecek
b29d271447
change launch_subwin() to pass failure reason back to caller, add check
...
pipe(2) call was successful
make launch_subwin(), va_prog_cmdstr() static
2001-09-13 18:07:26 +00:00
bjh21
3f063023fa
Add routing boilerplate to eco_output, verbatim from ether_output.
...
Update copyright notice to include UCB in consequence.
2001-09-13 18:01:34 +00:00
atatat
28b7bb87a2
Add mention of the _IO() ioctl type: ioctls that just frob something
...
in the kernel, but don't copy anything in or out.
2001-09-13 17:19:55 +00:00
drochner
875a8b9cee
-allocate DMA maps as large as necessary in the worst case
...
-Add a really bad hack: The X server (4.1.0 afaict) appearently overwrites
the PGTBL_CTL which contains the base address of the pseudo-GATT.
Restore the original value if we notice this happened.
The X server works now, but only with soft cursor.
2001-09-13 16:18:53 +00:00
drochner
e52f69d4e2
-allocate DMA maps as large as necessary in the worst case
...
-allocate space for DMA segments as much as necessary
-fix format warnings in a debug output
-don't try to access AGP capability stuff in the PCI config header
if it doesn't exist (as on the i810)
2001-09-13 16:14:16 +00:00
tshiozak
1a1c09790a
add power hook to PS/2 mouse driver; some mobile PCs has
...
unstable pointer, it arbitrarily awake the machine from standby state.
to prevent it, we need to stop the mouse controller before sleeping.
2001-09-13 14:16:12 +00:00
tshiozak
5341bac833
correct the set/get trigger code for ALi M1543 interrupt router.
2001-09-13 14:00:52 +00:00
pk
0a4ccdfd3c
Some sun4c machine (e.g. an IPC) can also have just 7 register windows,
...
so check for a possible context switch optimization #if SUN4C too.
2001-09-13 13:25:48 +00:00
pk
e85ab176f8
The SAVE macro used in the context switch code wound up being defined
...
only if MULTIPROCESSOR in rev 1.142, causing spurious register window
corruption on some machines.
2001-09-13 13:12:13 +00:00
itojun
de3a065dcc
CPPFLAGS, not CFLAGS, for -D.
2001-09-13 13:02:20 +00:00
itojun
18dd17006b
document insecure[12].
2001-09-13 11:07:48 +00:00
enami
69af775e86
- Bail out when failed to ioctl.
...
- Clear args to APM_IOC_GETPOWER.
2001-09-13 11:05:58 +00:00
itojun
5996ba4042
make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.
...
don't connect datagram socket if RES_INSECURE1.
needed to implement IPv6 anycast UDP DNS queries as documented in
<draft-ietf-ipngwg-dns-discovery-02.txt>.
sync with kame.
2001-09-13 11:05:02 +00:00