ragge
747983bb5b
Fix late "constifying" in ddb.
2001-01-28 20:47:45 +00:00
ragge
630d0523f6
These are not used anymore.
2001-01-28 20:04:50 +00:00
ragge
8032849729
Rename dz_ibus to dz_vsbus.
2001-01-28 19:26:34 +00:00
augustss
e6de2c6337
Commit second half of rate limit change.
2001-01-28 19:01:20 +00:00
augustss
a96a3fa4ca
Put a rate limiter on the scheduling overrun message.
2001-01-28 16:18:09 +00:00
itojun
32024e8a3d
call if_alloc_sadl(). without it the following operation causes kernel panic:
...
# ifconfig vlan0 create
# ifconfig vlan0
2001-01-28 10:41:44 +00:00
ichiro
5e870d500f
COMPAQ Agency NC5004 Wireless Card(Prism2) work.
2001-01-28 07:18:40 +00:00
ichiro
afeced92a0
regen.
2001-01-28 07:15:07 +00:00
ichiro
b74006da99
add product id
...
COMPAQ Wireless Card NC5004(Prism2)
2001-01-28 07:14:47 +00:00
ichiro
1225c5883f
USB-RSAQ work
...
but this product was discon.
2001-01-28 03:44:46 +00:00
uch
17b8c0e553
setup platid and config_hook.
2001-01-28 03:40:25 +00:00
uch
2f13dfd80c
s/EVBSH3/HPCSH/
2001-01-28 03:31:30 +00:00
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
sato
2e9c446398
* dopowerhooks(PWR_SOFTSUSPEND) in apm_suspend().
...
* dopowerhooks(PWR_SOFTSTANDBY) in apm_standby().
* dopowerhooks(PWR_SOFTRESUME) in apm_resume().
* dopowerhooks(PWR_RESUME), dopowerhooks(PWR_STANDBY),
dopowerhooks(PWR_SUSPEND) run in splhigh() state.
These changes sync with arch/i386/i386/apm.c.
2001-01-24 09:29:25 +00:00
itojun
617b3fab7e
- record IPsec packet history into m_aux structure.
...
- let ipfilter look at wire-format packet only (not the decapsulated ones),
so that VPN setting can work with NAT/ipfilter settings.
sync with kame.
TODO: use header history for stricter inbound validation
2001-01-24 09:04:15 +00:00
jmc
c97a56563e
Turn on NFS_V2_ONLY as the kernel has gotten too big for the ramdisk otherwise.
2001-01-24 06:10:09 +00:00
sato
fbf168d909
delete unneed debug message.
2001-01-24 03:52:16 +00:00
sato
a164b74b53
revert one of 1.34 change.
...
> * emul/mapping infomation turn to per screen.
(my misunderstanding)
currently per device.
2001-01-24 03:50:20 +00:00
sato
4af7f46d47
* support hpcfb_show_screens()'s cb and cbarg arguments. (HPCFB_MULTI)
...
* emul/mapping infomation turn to per screen.
* rename hpcfb_check_scroll() to hpcfb_check_update(). (HPCFB_JUMP)
* rename hpcfb_scroll_update() to hpcfb_update(). (HPCFB_JUMP)
* update experimental HPCFB_JUMP codes. (but not yet fix yet)
2001-01-24 01:38:53 +00:00
bjh21
917e1e8fd2
Set the palette in 4bpp modes. They still don't work right, though.
2001-01-24 00:56:29 +00:00
bjh21
050769744d
cf_unit usage is now fixed.
2001-01-24 00:03:21 +00:00
bjh21
3c3ed6cecd
Flush out cf_unit abuses.
...
Also, most device functions related to IRQ handling no longer take a device
pointer. We make so many assumptions about the machine's layout in irq.c that
this just seemed silly.
2001-01-23 23:58:31 +00:00
bjh21
d21e15aefe
This is no longer used.
2001-01-23 23:19:45 +00:00
bjh21
c59e8d1831
ANSIfy.
2001-01-23 22:59:24 +00:00
bjh21
34bf08cd05
Use a permanent breakpoint to invoke DDB rather than constructing a trapframe
...
manually. Prevents the problem introduced in the trapframe unification
whereby continuing from DDB would cause a panic.
2001-01-23 22:41:16 +00:00
bjh21
f32fc0fc90
Use evcnts properly for interrupt counting.
...
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher. This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.
Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate. At present, it isn't.
2001-01-23 22:07:59 +00:00
bjh21
8c87715ce0
We abuse cf_unit. The shame!
2001-01-23 22:07:58 +00:00
bjh21
616dad1a1b
Use evcnts properly for interrupt counting.
...
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher. This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.
Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate. At present, it isn't.
2001-01-23 22:07:57 +00:00
augustss
840a1d7e2b
Fiddle enough with the tty so that it wakes up on detach and drops
...
the reference count on the ucom.
2001-01-23 22:06:25 +00:00
augustss
4b0119383e
Ad support for an extra message in the ucom attach code.
2001-01-23 21:56:17 +00:00
augustss
0156530592
Null out pointers when closing pipes.
...
Try to wake upper layer on error.
2001-01-23 21:22:57 +00:00
augustss
af1fabe1bc
There are more ports than meet the eye on the Visor. Connect a ucom
...
to each of them.
2001-01-23 21:19:44 +00:00
ad
7bb669ca3e
Fix up license.
2001-01-23 20:51:01 +00:00
ad
c5fe587d24
Oops, be sure to clear the ATTN interrupt on error.
2001-01-23 20:47:02 +00:00
martin
97b57e69cc
Make bus_dmamap_load_mbuf and bus_dmamap_load_uio use independend
...
segment lists for their mapping; make iommu_dmamap_unload deal with
this type of maps.
Coded by Eduardo, tested (and minimaly tweaked) by me.
2001-01-23 20:31:28 +00:00
chuck
10ca4fd232
cause the "delete" key to actually send \177 like it used to
...
(and still does with pccons) rather than \033[3~ ...
2001-01-23 19:25:14 +00:00
tv
82a01b7eeb
Regen.
2001-01-23 19:24:19 +00:00
tv
af31089a6d
Re-add $FreeBSD$ RCS Id for the purposes of synchronization tracking.
...
This is not unprecedented, as we do it in >100 places in the tree.
If you disagree with this philosophy, take it to tech-kern for a discussion
FIRST before reverting; TNF, not one particular person, owns this file.
2001-01-23 19:24:00 +00:00
bjh21
e68a8d59fa
Sync with libc for licence update.
2001-01-23 19:12:29 +00:00
augustss
23cffa82c7
Rearrange detach code so it is more likely to survive detaching an open
...
device (it's still not waking up readers properly).
2001-01-23 17:35:58 +00:00
hpeyerl
f11510dd0a
add missing Weasel command.
2001-01-23 17:18:23 +00:00
augustss
5e8cefc2ea
Ad function to remove a usb task.
2001-01-23 17:04:30 +00:00
augustss
a88f037c70
MAke USB_DEBUG turn on UVISOR_DEBUG.
2001-01-23 17:03:19 +00:00
nonaka
21f8de1fcd
fix dup include ossaudio.
2001-01-23 14:12:25 +00:00
augustss
cbda952879
Make sure driver attach/detach events are generated in a consistent manner.
2001-01-23 14:04:13 +00:00
augustss
7fd4b01030
Change matching condition (we don't want to match on interface for this
...
type of device).
Don't generate a device detach event since there's no attach event.
Minor cosmetic changes.
2001-01-23 13:48:06 +00:00
tsutsui
ec63f6df14
Use MI loadfile() in loadprotoblocks().
2001-01-23 11:30:54 +00:00
is
93f107e677
adjust comments to reality
2001-01-23 11:25:59 +00:00
ichiro
51ee272c28
simple datasheet
...
http://www.nisseisg.co.jp/jyouhou/_cp/@gif/2303.pdf
but not include register :<
2001-01-23 10:10:22 +00:00
sato
0e59b8d2ec
add 4bpp support (sync with mq200 rev1.6 -> 1.7)
2001-01-23 08:51:48 +00:00
ichiro
2b4a1ad203
increase size of UPLCOM{I,O}BUFSIZE
...
enabe uplcom_break
2001-01-23 08:15:58 +00:00