Commit Graph

43907 Commits

Author SHA1 Message Date
uch
584cfa7669 Switch to MI md_root.c. 2001-01-28 03:09:40 +00:00
uch
37e1f36fec add hpc dir if MACHINE is hpcmips or hpcsh. 2001-01-28 02:58:19 +00:00
uch
6be22c0c6f hpcmips hpcsh common files are moved to arch/hpc. 2001-01-28 02:52:15 +00:00
nathanw
d460e9b43e Minor grammar/spelling fixes in comments. 2001-01-28 01:49:54 +00:00
martin
a7206004fc Faster error handling for iommu_dmamap_load_raw; avoid loading the map
and unloading on error when we clearly can't get out without an error.
2001-01-28 01:26:57 +00:00
nathanw
88fbd1edd4 Add joy at pnpbios. 2001-01-28 00:50:23 +00:00
nathanw
5028590f77 PNPBIOS joystick attachment. 2001-01-28 00:37:52 +00:00
jdolecek
8881c0b414 build and install filecorefs LKM same way as other VFS LKMs 2001-01-27 23:48:32 +00:00
oster
cc2a28f2c0 Un-'__P'ify. 2001-01-27 20:42:20 +00:00
oster
1949425ffc Nuke some bogus debug code that was already '#if 0'ed out. 2001-01-27 20:18:55 +00:00
oster
e6d8ca0dee Cosmetic cleanup of some comments, and nuke an unused #define. 2001-01-27 20:10:49 +00:00
oster
75ea8b428e Having moved some of the bits needed by raidctl into rf_configure.c, we
no longer need those bits here.  In particular, this file is now only
used in the kernel, and that allows us to clean up a lot of cruft.
2001-01-27 19:34:43 +00:00
augustss
532934d5f1 ANSIfy. 2001-01-27 18:53:33 +00:00
augustss
d13e6a84f2 Sleep a little when closing the midi device to allow the UART to drain. 2001-01-27 18:37:01 +00:00
jdolecek
3c532ca5ef adapt to struct sysent change 2001-01-27 17:06:31 +00:00
ichiro
c501a146a0 regen 2001-01-27 13:19:48 +00:00
ichiro
be66040d49 add product
I/O DATA USB-RSAQ(discon.)
2001-01-27 13:19:27 +00:00
jdolecek
98449698d2 Back previous out, it was right the way it was. Seems like I should
attend some basic arithmetic lessons to avoid such mistakes :-/
2001-01-27 12:28:35 +00:00
jdolecek
8c0e5dec1a fix 'physmem' - the actual value we want is ctob(physmem) 2001-01-27 11:42:41 +00:00
itojun
f38fdf081e change non-intuitive function name. s/rtflushit/rtflushclone1/ 2001-01-27 11:07:59 +00:00
itojun
02adaaf197 cleanup cloned route when parent route (RTF_CLONING) goes away.
adds rt_parent to link parent from child (like NRL did, ours do refcnt
rt_refcnt properly).

bsdi rt_walkbranch would speedup the processing, but since the code will not
be visited too frequently, the current code (with rt_walktree) should be okay.
2001-01-27 10:39:33 +00:00
thorpej
95a72e42de egen; getpid(2) is MP-safe. 2001-01-27 08:02:10 +00:00
thorpej
00d798f276 getpid(2) is MP-safe. 2001-01-27 07:59:58 +00:00
thorpej
b54650a0bc Regen; getpid(2) is MP-safe. 2001-01-27 07:58:37 +00:00
thorpej
e00fb66e89 getpid(2) is MP-safe. 2001-01-27 07:58:22 +00:00
thorpej
cf30c31b4d Regen; getpid(2) is MP-safe. 2001-01-27 07:56:54 +00:00
thorpej
bca5b90ff2 getpid(2) is MP-safe. 2001-01-27 07:56:30 +00:00
thorpej
e385ddef5e Regen; getpid(2) is MP-safe. 2001-01-27 07:55:44 +00:00
thorpej
f979b01e55 getpid(2) is MP-safe. 2001-01-27 07:55:23 +00:00
thorpej
c1bdc2ed00 Regen; getpid(2) is MP-safe. 2001-01-27 07:54:43 +00:00
thorpej
3853970b15 getpid(2) is MP-safe. 2001-01-27 07:54:24 +00:00
thorpej
3c55fd337f Regen; getpid(2) is MP-safe. 2001-01-27 07:53:27 +00:00
thorpej
f3e8131498 getpid(2) is MP-safe. 2001-01-27 07:53:10 +00:00
thorpej
987590c661 Regen; getpid(2) is MP-safe. 2001-01-27 07:52:20 +00:00
thorpej
4f58e50fa7 getpid(2) is MP-safe. 2001-01-27 07:51:22 +00:00
thorpej
c69905cee8 Regen; getpid(2) is MP-safe. 2001-01-27 07:50:34 +00:00
thorpej
ac878f7a8c getpid(2) is MP-safe. 2001-01-27 07:50:11 +00:00
thorpej
cfa7048975 Regen; getpid(2) is MP-safe. 2001-01-27 07:48:28 +00:00
thorpej
8740614bad getpid(2), our first MP-safe syscall! 2001-01-27 07:47:26 +00:00
thorpej
d5b80e5c7a 1.5R -- sy_flags added to struct sysent. 2001-01-27 07:35:24 +00:00
thorpej
1b6a66420e Regen; add sy_flags. 2001-01-27 07:23:06 +00:00
thorpej
1628dd441e Add a "sy_flags" to struct sysent, define a SYCALL_MPSAFE
system call flag (indicating that the kernel lock does not
need to be acquired when entering the kernel on that syscall).
2001-01-27 07:21:43 +00:00
itojun
fee00b1a78 mark cloned routes with RTF_CLONED. present it with netstat -r by "c".
let static routes overwrite cloned routes, as cloned routes can come back again
if necessary.  behavior same as freebsd/bsdi, code partially from bsdi42.
(NRL rt->rt_parent was not added)
should fix PR 11916 and maybe some other PRs with ARP behavior.

recompilation of usr.sbin/route6d is suggested.
2001-01-27 04:49:31 +00:00
augustss
46ee162100 Fix from chuq:
don't update UVM's notion of the file size before the VOP_FSYNC() when
we're partially truncating a file with softdeps enabled.  doing so could
free pages without updating the dependency info, which would result in
"panic: softdep_write_inodeblock: direct pointer #1 mismatch 0 != N".
2001-01-27 04:23:21 +00:00
eeh
6c3bf28ffd Fix dvma problem caused by previous. Seems like the dvma segment calculation
in iommu_dmamap_unload() was not quite right.
2001-01-27 03:40:39 +00:00
lukem
952413677f add options NTP (ok-ed by thorpej) 2001-01-27 03:02:52 +00:00
oster
3edd34f0be More #if's. This needs some serious rototillage, but a few #if's will
suffice for now.
2001-01-27 02:13:34 +00:00
bouyer
22189b442b Add a few siop_table_sync() calls. 2001-01-26 22:00:01 +00:00
bouyer
05b5119cdf Fix a 4 byte ovferflow in an array:
resel[sizeof(load_dsa) / sizeof(load_dsa[0])] is 25, not 24.
2001-01-26 21:58:56 +00:00
is
facd2d0feb Support for the Zeus Development(?) ISDN board (2189/3). 2001-01-26 21:49:04 +00:00
ad
01c89cec5c No need to submit before poll any more. 2001-01-26 19:53:15 +00:00
manu
de8918d969 Moved include <sys/ioctl.h> so that we can build without WSCONS enabled. 2001-01-26 19:41:52 +00:00
minoura
42c425801b Use IOCS_S_READEXT only when reading the partition boot from
higher part of the disk than 0x200000.
2001-01-26 17:30:15 +00:00
tsutsui
9f8af7c171 Sync with sun3/machdep.c:
> Require the machine-dependant DDB commands to be in db_machine_command_table[]
> and link it directly to db_command_table[] so that it's not necessary
> to do this at runtime. Make db_machine_command_table[] const on all ports.
> g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()
>
> Patch written by enami.
2001-01-26 16:12:12 +00:00
oster
c4a426333f My.. what a twisty little maze of #defines and dependencies. Some of this
code is used for more than anticipated, and I missed a few checks last
night.  Thanks to Bernd Ernesti for poking me about this.
2001-01-26 14:06:16 +00:00
is
29d5f56206 Make diagnostic actually useful - needed to debug other ARP PRs.
Suggested by Geoff C. Wing in PR 10815.
2001-01-26 11:40:32 +00:00
is
cf9b8e8210 Contribution by Ryoji Kato: I-O DATA IFML-560 56K modem device ID. 2001-01-26 11:04:20 +00:00
is
2b15bcc35b Contribution by Ryoji Kato: I-O DATA IFML-560 56K modem support. 2001-01-26 11:02:18 +00:00
aymeric
a85be0a99c process_machdep.c is actually procfs_machdep.c 2001-01-26 10:31:29 +00:00
rh
6939097e75 Add left/right reversal quirk entry for Toshiba Protege 7020 2001-01-26 10:04:43 +00:00
rh
30dcc3b36e regen 2001-01-26 10:04:12 +00:00
rh
2f324bf9a0 Add Toshiba Protege product code 2001-01-26 10:03:47 +00:00
rh
8ec736c069 Add quirk for Compaq Armada M700 to fix left/right channel reversal.
Quirk entry provided by Joachim Koenig-Baltes <koenig@cms.tecmath.com>
2001-01-26 09:22:18 +00:00
rh
095bcc2e62 regen 2001-01-26 08:04:40 +00:00
rh
f6dbeb0440 Add product code for the Compaq Armada M700 Notebook 2001-01-26 08:02:46 +00:00
itohy
7c338ddc48 Call inittodr() from lfs_mountroot() so that the system time is set properly
when booted from LFS.
2001-01-26 07:59:23 +00:00
oster
e47b177bc0 Nobody calls these bits if we arn't doing RAID5 with rotated spare stuff.
Add an #if.
2001-01-26 05:16:58 +00:00
oster
1763f954c7 These bits are only needed for the interdecluster stuff.. wrap them
with an #if.
2001-01-26 05:09:13 +00:00
oster
7833c33e99 Whoops.. Leave them on.. (for now.) 2001-01-26 04:43:16 +00:00
oster
a40eef11ac Give the parity declustering code their own 'RAID arch' types, and
allow us to turn them off if desired.
2001-01-26 04:40:03 +00:00
oster
61a2ee28fb Lots of stuff here that is only used for some of the 'fancier' RAID types.
Don't compile it if we arn't going to use it.
2001-01-26 04:27:16 +00:00
oster
bcc70a3f37 Clean up some INDENT warnings. (yes, these have been there for a while!) 2001-01-26 04:14:14 +00:00
oster
0a5ca1547d Various parts of this file are only needed by the even/odd and PQ
RAID types.  Don't include those bits if we arn't doing even/odd or PQ stuff.
2001-01-26 04:05:08 +00:00
oster
9880e186ec Don't build the stuff in this file if RF_INCLUDE_EVENODD is not defined. 2001-01-26 03:50:53 +00:00
sato
8211e0e08b * support more than 16 ids.
* check the event ids are in the table.
2001-01-26 03:44:33 +00:00
sato
18ae54300c * renumber config_hook event type.
* change event id of old event type(POWERCONTROL,BUTTONEVRNT)
  to same as event id of new event type(EVENT,SET,GET).
2001-01-26 03:42:30 +00:00
oster
c77d3c20a8 Ensure we update the 'partitionSize' field of the component labels
when doing a reconstruct or a copyback.  If we don't, junk might be
there, and that could cause the component to be not correctly
autoconfigured on reboot.  Thanks to Simon Burge for helping track this down.
2001-01-26 02:16:24 +00:00
is
d2ace86ad7 Two suggestions by jhawk:
- be more verbose about what file is created
- adjust copied $NetBSD...$ from $ NetBSD to NetBSD.
2001-01-25 22:34:20 +00:00
is
3f25157bea Add support for ISDN Surfer (ISDN only, for the time being). 2001-01-25 22:22:15 +00:00
martin
f4eec8f31f iommu_dvmamap_load_raw: add a check for creating maps larger than
expected by the creator of the dma map and fail apropriately. This
makes the syssrc/dev/pci/if_vr.c driver work.
2001-01-25 21:41:10 +00:00
jdolecek
e7ad3e2a49 Make e_errno of struct emul 'const int *' (was 'int *'), since the errno
mapping tables were constified recently.
This fixes compile problem reported by Ken Wellsch on current-users@.
2001-01-25 20:18:51 +00:00
fvdl
f2b255d7c2 Don't use pmap_enter in vmapbuf. This is essentially a reversal of
revision 1.76. It avoids problems where an I/O interrupt for physio,
using a bounce buffer, would find the destination address mapped
read-only because the syncer process hit.

Suggested by Chuck Cranor.
2001-01-25 20:14:28 +00:00
manu
86651a757f Fixed wrong signal handler argument setup. The emulated sigcontext still has some problems. 2001-01-25 19:36:53 +00:00
jdolecek
6e695cc559 move misplaced comment to where it belongs 2001-01-25 19:14:40 +00:00
toshii
b8569c0b8e The previous revision was my fault. audio_calcwater() needs to be
called at every open.
Thanks Witold J. Wnuk for pointing out this problem.
2001-01-25 15:25:34 +00:00
tsutsui
08f4daf2ce Add drivers for keyboard and mouse.
(but no working framebuffer yet..)
2001-01-25 14:33:28 +00:00
tsubai
d0a3070c40 Generate key press event and key release event when capslock is pressed.
Now capslock key works correctly on X11.
2001-01-25 14:08:55 +00:00
wiz
ec35b8d060 Make output selection work -- you can use lineout now instead of the
internal loudspeakers.
2001-01-25 13:39:22 +00:00
tsutsui
b2457f9a76 Move NEWS keymap file into MI place to share with news68k. 2001-01-25 13:13:59 +00:00
jdolecek
555bbcc02a g/c pmnt_mp in struct procfs_args 2001-01-25 12:44:56 +00:00
marcus
7df82ad12b Changed implementation of partitions, multisession discs now work better. 2001-01-25 01:41:47 +00:00
thorpej
37247109d1 When considering a page for deactivation, check to see if the
page has been referenced since the last time it was considered.
If it was, don't deactivate the page.
2001-01-25 00:24:48 +00:00
mycroft
91a4c18e32 Put back the pmap_is_referenced() check from the original UVM code in the
inactive list scans.  Without this, the referenced bit was essentially ignored.
2001-01-25 00:10:03 +00:00
jdolecek
9818f641c3 make db_command_table[] const; since there is no way to dynamically extend
or modify the table at the moment, there is no functionality lost.
See also the discussion on tech-kern (Subject: 'machine' DDB command).
2001-01-24 20:54:41 +00:00
kleink
961fde5a45 #ifdef __STDC__ -> #if __STDC__ 2001-01-24 20:34:59 +00:00
jmc
59d9cb6e67 Spelling police 2001-01-24 19:38:44 +00:00
jmc
5fe51991eb Enable MFS. This will allow /dev to be built on mfs. 2001-01-24 18:08:26 +00:00
ichiro
fa52d46203 more datasheet
but same...
2001-01-24 14:46:49 +00:00
haya
c54894efe9 IMPROVEMENT: use tsleep() instead of delay(). Kernel do not stop
during card insertion, deletion and power change.
2001-01-24 10:10:04 +00:00
sato
3689556739 * fix typo.
* change PWR_* handling to PWR_SOFT* handling, if these routines need to sleep.
2001-01-24 09:34:26 +00:00