Commit Graph

59415 Commits

Author SHA1 Message Date
jdolecek c82ab2eb79 now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
jdolecek 405d32e2db g/c local offsetof(), it's defined in libkern.h 2002-10-26 13:24:55 +00:00
jdolecek 53ab400e78 add <machine/atomic.h> for netwinder (copied from cats, just wrapper
to #include <arm/atomic.h>)
2002-10-25 22:53:57 +00:00
martin a4c5b71389 Fix pasto. 2002-10-25 21:50:10 +00:00
martin 8c2d46f972 Add a few symbols. 2002-10-25 21:49:41 +00:00
leo e70f340199 Fritz!PCI v2.0 ISDN driver from FreeBSD. 2002-10-25 21:03:47 +00:00
thorpej 4b68c83f09 Make these work with GCC 3.x. 2002-10-25 20:46:44 +00:00
martin 325d7cc0df Scan code/keymap table for sun keyboards and wscons.
From OpenBSD, written by Jason L. Wright.
2002-10-25 20:40:34 +00:00
junyoung 9d459e65ae Register aperture is now mapped as a subregion of the framebuffer aperture
using bus_space_subregion(). This makes reg*() look better.
2002-10-25 18:57:06 +00:00
briggs c315d5acf6 Double the amount of stack space for ofwboot. 2002-10-25 18:19:43 +00:00
martin 456f63b54e Sprinkle a few bus_space_read*/bus_space_write* calls and simplify register
offset calculation. Mostly from Bang Jun Young.

Don't call wsdisplay_cnattach unconditionally.

On sparc use OF to decide whether we are console output.

This makes it actually work on my U5 - if only we had a keyboard driver
to produce wskbd events (coming soon).
2002-10-25 18:03:03 +00:00
kent 4669f33e4f regen 2002-10-25 15:58:03 +00:00
kent 9bedd91d95 Correct a typo in the previous change. 2002-10-25 15:56:47 +00:00
kent 7da30dbfb0 Add vender IDs and product IDs:
- ENE CB1410 (http://mail-index.netbsd.org/tech-kern/2002/10/24/0038.html)
 - iCompression iTVC15

Correct ID of AMD PBC8111_AC.
2002-10-25 15:54:33 +00:00
briggs 458f8dc093 Restore .Lpmc_intr_return -- ben only removed one of two references to it. 2002-10-25 14:29:37 +00:00
fvdl fe9d9a8b25 Fix MTRR code which had been broken since the MP merge (but silently
failed due to a missing include of opt_mtrr.h in cpu.c)
2002-10-25 12:01:56 +00:00
fvdl 526dd035ea Add macros for cpuid family/step, etc shifting. Moved here from
machdep.c.
2002-10-25 12:00:11 +00:00
jdolecek 7579e4a9fb do not install footbridge_irqhandler.h 2002-10-25 07:57:39 +00:00
jdolecek a8dbe27136 add a missing opmskqfilter() prototype 2002-10-25 07:47:56 +00:00
yamt ac3a01e67e use B_ASYNC for children of nested buffers in genfs_getpages.
ok'ed by Chuck Silvers.
2002-10-25 05:44:41 +00:00
oster 661b040860 Poolify callback descriptor allocation. While some of the underlying
problems just get shuffled around a bit, we do play more nicely with
LOCKDEBUG now.
2002-10-25 03:14:37 +00:00
mycroft 8131f239bf IBSS mode does in fact work on some earlier Symbol firmware versions, as
witnessed by my home network.
2002-10-25 01:35:12 +00:00
chris 02debbc8ab Add comment explaining what DDB_KEYCODE does. It should probably be renamed
to DDB_BREAK_CHAR to match the com driver at some point, although even that
isn't used everywhere.
2002-10-25 00:08:43 +00:00
petrov 45a2f80742 Remove duplicate code in iommu_dvmamap_sync. 2002-10-24 23:24:01 +00:00
atatat 68277bb301 In the case of a double amap_extend() (during a forward merge after a
back merge), don't abort the allocation if the second extend fails,
just abort the forward merge and finish the allocation.

Code reviewed by thorpej.
2002-10-24 22:22:28 +00:00
christos 3bdf8a1678 fix a couple of lint warnings. 2002-10-24 20:54:41 +00:00
christos 07dca24022 make offsetof lint friendlier. 2002-10-24 20:53:50 +00:00
christos 3d15188e5d use -X to ignore static function unused warnings, and echo the command. 2002-10-24 20:52:38 +00:00
martin 1def10c9a4 A few 64bit nits. 2002-10-24 20:41:59 +00:00
atatat 2d6863ada3 Call amap_extend() a second time in the case of a bimerge (both
backwards and forwards) if the previous entry was backed by an amap.

Fixes pr kern/18789, where netscape 7 + a java applet actually manage
to incur forward and bimerges in userspace.

Code reviewed by fvdl and thorpej.
2002-10-24 20:37:59 +00:00
junyoung 83f535c080 Add commented-out machfb attachment. 2002-10-24 18:22:53 +00:00
junyoung 2c1cfbd9df Add machfb, ATI Mach64/Rage framebuffer display driver.
XXX this version is not fully functional yet. More to come shortly.
2002-10-24 18:15:57 +00:00
chs ea6ddab6a8 the work-around in rev. 1.37 (turn off async) wasn't enough to prevent
hangs under heavy load.  so we now apply the more extreme version:
make MFS mounts "sync".  fixes PRs 17128 and 17321.
2002-10-24 16:41:00 +00:00
scw b67ad48827 Put bit definitions for the FP control/status register in <sh5/fpu.h> and
use them instead of "magic" numbers in the source.
2002-10-24 13:58:48 +00:00
scw 511275734b Format string fixes. 2002-10-24 13:48:44 +00:00
jdolecek 4501e88f21 put back the D_DISK tag for cdevsw mistakely removed in previous
revision
2002-10-24 08:04:00 +00:00
fvdl ab08e70bd1 Make this actually compile. 2002-10-24 07:43:21 +00:00
grant 20aee41979 regen 2002-10-24 06:40:56 +00:00
grant e1efdc58c7 COREGA are OEM NDC products.
add NDC NCP130 rev A2 wireless NIC.

From T. M. Pederson in kern/18609.
2002-10-24 06:40:07 +00:00
augustss 37da939075 Make it compile after the kq changes.
XXX I'm not sure what kqfilter cgd should have, it gets nokqfilter for now.
2002-10-24 01:43:54 +00:00
augustss ec2ec8eeeb g/c IRDA ioctls (was within #if 0 anyway)
Fix kqueue pasto.
2002-10-24 01:36:34 +00:00
mycroft 4b51da752c Enable Transmeta CPUs without the LongRun registers to get through
transmeta_cpu_{info,setup}().
2002-10-23 21:41:34 +00:00
manu f8aec0fd04 Added a cleanup function for the (un)shared region list, so that it does
not grow forever.
2002-10-23 21:30:46 +00:00
manu 13a3d2ed82 In mmap, use the address returned by sys_mmap to keep track of (un)shared
regions
2002-10-23 20:45:38 +00:00
jdolecek f040fc2e24 ext2fs_remove(): use 'else' to eliminate need for goto (and improve
readibility, even)
2002-10-23 19:52:16 +00:00
jdolecek 707bbfecd1 g/c cons_ocount, it's not used by anything 2002-10-23 19:48:59 +00:00
pooka d16eacc3ef avoid namespace collision with IMASK 2002-10-23 14:57:15 +00:00
lukem 5b95beaf5f this is a host prog... 2002-10-23 14:35:28 +00:00
lukem 9e0285bfee this is a HOSTPROG; no need to set LDSTATIC=-static 2002-10-23 14:22:38 +00:00
scw b28965836d Tick off another item. 2002-10-23 13:37:05 +00:00