Commit Graph

23929 Commits

Author SHA1 Message Date
is
2a78f6986c no semicolon, please 1998-07-25 09:24:17 +00:00
is
3d0dcc7181 This has been in amiga/amiga/mtpr.h for a long, long time. 1998-07-25 07:21:20 +00:00
augustss
67ec8587a0 Provide wsmouse attachment for the USB mouse driver.
XXX Keep /dev/ums* for now since XFree86 does not understand wsmouse yet.
1998-07-25 01:46:38 +00:00
thorpej
f0ff548dd2 Rewrite the probe to use values from the EEPROM for membase and IRQ
if they're not specified by the attach arguments, so that they can
be reported by isaprint().  Rearrange the attach routine to facilitate
splitting this up into front- and back-end drivers.
1998-07-25 01:15:54 +00:00
wrstuden
43a04e85ab Another printf(%:) down. 1998-07-25 00:42:03 +00:00
thorpej
930937fd49 Define the CS8900 memory size, and macros to test for valid memory
base and IRQ.
1998-07-25 00:41:47 +00:00
thorpej
b4195e59cd Change the interface to the EEPROM functions such that they can be called
from the probe routine.
1998-07-24 23:25:13 +00:00
thorpej
260b2a20f2 Provide PMAP_{,UN}MAP_POOLPAGE(). 1998-07-24 22:03:33 +00:00
augustss
b916de0f86 Add special memory allocation routines that supports allocation
DMA-able memory in small chunks (USB uses a lot of 8 byte chunks).
Using the bus_dma functions directly is inefficient.
1998-07-24 21:09:07 +00:00
pk
91f18e727f Remove conditionals on SUN4C+SUN4M.
A few cosmetic changes.
1998-07-24 21:08:16 +00:00
augustss
06e7ed2009 Make sure requests are aborted properly when the pipe is aborted. 1998-07-24 21:02:51 +00:00
augustss
1a5dd77c56 Punt if the mouse reports absolute coordinates. 1998-07-24 20:59:57 +00:00
augustss
b79d954aac Let hid_locate() return the item flags as well as the position. 1998-07-24 20:57:46 +00:00
tsubai
1ca186e04d G3 Macs also needs to fix pci io/mem enable bits. 1998-07-24 20:53:57 +00:00
thorpej
bf51a1d137 uvm_deallocate() takes an address and a size, not an address range. From
ITOH Yasufumi <yasufu-i@is.aist-nara.ac.jp>, PR #5834.
1998-07-24 20:47:59 +00:00
thorpej
2385ee5eca Provide PMAP_{,UN}MAP_POOLPAGE(). 1998-07-24 20:32:07 +00:00
thorpej
8325d058bf Implement uvm_km_{alloc,free}_poolpage(). These functions use pmap hooks to
map/unmap pool pages if provided by the pmap layer.
1998-07-24 20:28:48 +00:00
thorpej
6127f55620 Implement kmem_{alloc,free}_poolpage(). These functions use pmap hooks to
map/unmap pool pages if provided by the pmap layer.
1998-07-24 20:27:26 +00:00
thorpej
fc4828b0b4 A few small changes to how pool pages are allocated/freed:
- If either an alloc or release function is provided, make sure both are
  provided, otherwise panic, as this is a fatal error.
- If using the default allocator, default the pool pagesz to PAGE_SIZE,
  since that is the granularity of the default allocator's mechanism.
- In the default allocator, use new functions:
	uvm_km_alloc_poolpage()/uvm_km_free_poolpage(), or
	kmem_alloc_poolpage()/kmem_free_poolpage()
  rather than doing it here.  These functions may use pmap hooks to
  provide alternate methods of mapping pool pages.
1998-07-24 20:19:23 +00:00
thorpej
7d8833a179 Put back swap_data_lock, which was apparently deleted accidentally during
the last round of changes.  (I noticed it because I run my kernels w/
LOCKDEBUG.)
1998-07-24 18:46:02 +00:00
drochner
658e297dd6 Initialize the new "dispoffset" (but don't use it for anything fancy). 1998-07-24 16:22:51 +00:00
drochner
3d545acb51 Overload the generic "copyrows" function by a private one which implents
a "fast scroll" by setting the display start in memory.
(Only implemented for "scroll up" because this is more used. "scroll down"
is easy to add.)
This moves the semantics of "copyrows" to something like "moverows";
the contents of the new visible lines at the bottom is undefined.
The emulations can live without the original "copy" semantics.
1998-07-24 16:20:14 +00:00
drochner
7764b57db5 allow the displayed area to start anywhere in display memory,
add a "dispoffset" variable to control this
1998-07-24 16:12:18 +00:00
tsubai
5cc05df4ca Comment out "insert root disk..." message.
Remove unnecessary video init.
1998-07-24 15:52:04 +00:00
rvb
d33dfcd7dc Coda glue 1998-07-24 15:40:42 +00:00
rvb
b1d69203b3 Coda glue 1998-07-24 15:18:21 +00:00
tsubai
5f9682b601 Calculate DELAY constant before configure(). 1998-07-24 14:40:40 +00:00
drochner
e81ad8e2c6 add random generator hook 1998-07-24 13:42:29 +00:00
drochner
6dc9297499 remove unneeded typecast 1998-07-24 13:41:52 +00:00
sommerfe
1c2f0a15fd Don't create the extent region pool until one of our callers is of the
opinion that it's safe to call malloc.
1998-07-24 06:40:45 +00:00
sommerfe
8ba3494f9a Deal with new pool code's changed API by rewriting this to not use pools.
Instead, use a manually maintained freelist in a second tailq.
Uses less data space, looks more symmetrical.
1998-07-24 03:29:29 +00:00
gwr
4eeeee6a7c Print a complaint when no children were specified
in the config file.  Better than a link error...
1998-07-23 23:48:33 +00:00
gwr
4a15b6ba7d Make this like the other redirect includes. 1998-07-23 23:47:02 +00:00
gwr
7e0d396bf4 Add xyc to the dev/xy.c line, similar for xd. 1998-07-23 23:45:24 +00:00
pk
f836b9e8d3 Drop private page table list maintenance; use memory pools instead. 1998-07-23 21:42:40 +00:00
pk
4e465abf3f Use a memory pool instead of malloc to allocate region descriptors. 1998-07-23 20:57:17 +00:00
pk
a96abe7092 Update pool_* functions to new interface. 1998-07-23 20:52:01 +00:00
pk
363f729ada Use memory pools to allocate swap buffers. Allocations are all dynamic;
in particular `nswbuf' is gone, as is the private "struct buf" list that
was previously maintained in here.
1998-07-23 20:51:09 +00:00
pk
20f05a4bb5 Include pool_drain() in page scans. 1998-07-23 20:36:09 +00:00
pk
73ffa498ec Define M_POOL. 1998-07-23 20:34:59 +00:00
pk
e32923a128 Re-vamped pool manager.
* support for customized memory supplier
	* automatic page reclaim by VM system
	* time-based hysteresis
	* cache coloring (after Bonwick's "slabs")
1998-07-23 20:34:00 +00:00
christos
1253bfdf46 Utilize the centralized probe function. 1998-07-23 19:32:42 +00:00
christos
fe7d31fe1e First-gen 1998-07-23 19:31:36 +00:00
christos
bdb2269a46 Create a master list of pnp logical and compatibility device codes instead
of hard-coding it into each driver and use a centralized probe function.
1998-07-23 19:30:44 +00:00
thorpej
8d611b5f32 Remember the product ID and revision. 1998-07-23 19:25:52 +00:00
thorpej
d2bc077edb G/c a now unsed config flag. 1998-07-23 19:03:11 +00:00
thorpej
1c9aed40f6 Round-out full-duplex support. 1998-07-23 19:02:55 +00:00
msaitoh
31177b97e7 In usercodes, we use getpagesize() instead of NBPG. 1998-07-23 18:15:57 +00:00
thorpej
458ba64f3a Slight variation on last; be a bit more zealous about fixing up the
clock source.  Now, when my EtherPower II locks up, it eventually recovers!

(Geez, I'd like to know why it does this, and only apparently in 10mb/s mode).
1998-07-23 17:37:38 +00:00
drochner
c4c3297772 update comment ("John F. Woods" <jfw@funhouse.com>, PR kern/5798) 1998-07-23 16:39:24 +00:00