pk
5538893eda
sun4_dmamap_load(): Check if boundary condition can be satisfied instead
...
of panicing blindly.
2001-01-28 20:48:31 +00:00
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
itojun
696bcad865
put attribute(packed) for ip6 option headers. they will appear at
...
strange alignment positions. sync with kame
2001-01-23 07:21:07 +00:00
thorpej
bcb0a27722
Regen; added Xircom CreditCard Token Ring II.
2001-01-23 05:42:43 +00:00
thorpej
ad4bfb4606
Add Xircom CreditCard Token Ring II (woo, I found my card!)
2001-01-23 05:42:12 +00:00
itojun
8b3234d2f2
minimize diff with the latest kame tree.
2001-01-23 05:21:23 +00:00
ichiro
db3f510ee6
s/2000/2001 :-)
...
and typo.
2001-01-23 02:36:17 +00:00
thorpej
ad7259d7c6
Change uvm_analloc() to return a locked anon, update all callers,
...
and fix an anon locking protocol error in uvm_loanzero().
2001-01-23 02:27:39 +00:00
augustss
3a36335ddf
Don't turn on the dubug flag by default.
...
Don't print interface class/subclass; it's pointless since the device
doesn't follow any standard class definition.
2001-01-23 02:25:02 +00:00
augustss
d324979aed
Add uplcom.
2001-01-23 02:18:30 +00:00
thorpej
13759f5310
Sprinkle some assertions:
...
amap_free(): Assert that the amap is locked.
amap_share_protect(): Assert that the amap is locked.
amap_wipeout(): Assert that the amap is locked.
uvm_anfree(): Assert that the anon has a reference count of 0 and is
not locked.
uvm_anon_lockloanpg(): Assert that the anon is locked.
anon_pagein(): Assert that the anon is locked.
uvmfault_anonget(): Assert that the anon is locked.
uvm_pagealloc_strat(): Assert that the uobj or the anon is locked
And fix the problems these have uncovered:
amap_cow_now(): Lock the new anon after allocating it, and unref and
unlock it (rather than lock!) before freeing it in case
of an error condition. This should fix a problem reported
by Dan Carosone using cdrecord on an i386 MP kernel.
uvm_fault(): Case1B -- Lock the new anon afer allocating it, and unlock
it later when we unlock the old anon.
Case2 -- Lock the new anon after allocating it, and unlock
it later by passing it to uvmfault_unlockall() (we set anon
to NULL if we're not doing a promote fault).
2001-01-23 01:56:16 +00:00
augustss
5704d1e2b8
Uncomment the uftdi driver.
2001-01-23 01:44:38 +00:00
ichiro
5760a7d243
add I/O DATA USB-RSAQ2 serial adapter
...
uplcom* at uhub? port ?
ucom* at uplcom? portno ?
2001-01-23 01:27:23 +00:00
ichiro
1227a240f1
driver for Prolific PL2303 serial adapter.
...
I/O DATA USB-USAQ2 work.
2001-01-23 01:24:10 +00:00
bjh21
668b6cbaba
We now have a rasops4 attribute to play with. It doesn't work, but then
...
neither do rasops1 and rasops2...
2001-01-23 00:27:44 +00:00
bjh21
55648b014b
Use our own evcnt structure to count VSYNC interrupts.
...
Also disable interrupts while we're not using them.
2001-01-22 23:29:34 +00:00
bjh21
d0b6f0f1cd
Changes to interrupt accounting:
...
NULL "name" argument to irq_establish indicates that the device will maintain
an evcnt structure for this interrupt. In this case, irq_establish will still
maintain its own count (for DDB machine irqstat), but won't attach it to the
global list.
Change use of ev_group and ev_name to follow guidelines in evcnt(9).
Switch arckbd(4) over to the new arrangements.
2001-01-22 23:08:26 +00:00
bjh21
fe3273fbb4
Patch from PR kern/8001, submitted by Rafal Boni.
...
This adds support for EtherExpress/16 cards with 16k of RAM, and in the
process adds general support for PIO mode on these cards. This entails
changing the way the i82586 driver handles bus barriers, since it doesn't
allow for strange cases like this.
This has been tested on the i386 port with the 'ix' driver in both
16KB (which was the source of the problem) and 32KB modes, as well
as with the 'ef' driver. I've tested it (briefly) with 'ei' on arm26
as well. In theory, drivers other than 'ix' should follow precisely the
same code paths as before.
2001-01-22 22:28:43 +00:00
bjh21
1178bf4219
Initial potentially sharable <arm/armreg.h>. Used by all arm26 code.
2001-01-22 22:10:39 +00:00
eeh
a07a06dd78
Only panic if we can't allocate a PT page for the kernel pmap.
2001-01-22 22:10:09 +00:00
ad
e055513a28
Nuke useless argument to ld_twe_dobio().
2001-01-22 21:56:11 +00:00
thorpej
69fd9caaae
Don't IFQ_SET_READY() -- this driver isn't ALTQ'ified.
2001-01-22 21:38:35 +00:00
jdolecek
1b91de887e
use CHECK_ALT_SYMLINK() for lstat(2)
...
don't call stackgap_init() for pwrite(2) and pread(2), it's not necessary
2001-01-22 21:31:37 +00:00
briggs
ded0acf164
Clear interrupts on the RasterOps PaintBoard Prism GT 1.0. From
...
Alastair Bridgewater <nyef@softhome.net>.
2001-01-22 20:27:02 +00:00
jdolecek
13ca559d39
Use CHECK_ALT_SYMLINK() instead CHECK_ALT_EXISTS() where appropriate.
...
This addresses kern/11757.
2001-01-22 20:08:03 +00:00
jdolecek
2fcd02eea0
Introduce CHECK_ALT_SYMLINK() - this checks for alternative location without
...
following links, hence is usable for checking of presence of a symlink.
Also slighly cleanup EXISTS and CREAT cases - use symbolic constants
instead of 0/1.
This is needed for emulation of readlink(2), lchown(2) and similar.
Addresses kern/11757.
2001-01-22 19:50:56 +00:00
briggs
b8d22c0d39
Handle interrupts on the Radius DirectColor/GX (id 0x27c). From
...
Alastair Bridgewater <nyef@softhome.net>.
2001-01-22 18:23:14 +00:00
itojun
6e24d735f0
when the peer is disconnected before accept(2) is issued,
...
do not return junk data in mbuf (= sockaddr on accept(2)'s 2nd arg).
set the length zero.
behavior checked with bsdi and freebsd.
partial solution to PR 12027 and 10698 (need more investigation).
2001-01-22 18:14:11 +00:00
ad
7575649e53
Minor optimisation.
2001-01-22 17:44:28 +00:00
ad
03463e18f1
opt_twe.h isn't needed any more.
2001-01-22 17:40:14 +00:00
ad
8771c04bd1
Don't artificially clamp the maximum number of outstanding commands.
2001-01-22 17:38:23 +00:00
ad
9c7e523b64
- Complain if interrupt-driven retrieval of AENs fails somehow.
...
- Clamp the number of outstanding commands to 129.
- Other tweaks.
2001-01-22 17:32:11 +00:00
ad
4a19c21be3
In rcons_connect(): PMAX_FBTYPE_PM_COLOR should use the defaults.
2001-01-22 17:18:32 +00:00
fvdl
f4ddf5e1b6
Cast lbn to off_t in a few places, to avoid daddr_t overflow and all sorts
...
of havoc. From Bill Sommerfeld.
2001-01-22 16:39:54 +00:00
matthias
d88ce636a9
Bring this to the code in arch/i386/i386/pmap.c;1.117.
2001-01-22 14:33:29 +00:00
jdolecek
9e7736f1dc
make patches[] const
2001-01-22 14:30:43 +00:00
jdolecek
29d563fd5b
regen: US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry added
2001-01-22 14:18:42 +00:00
jdolecek
0f1dba40c7
add US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry
...
I wish I'd been less foolish and not bought this device ...
2001-01-22 14:15:24 +00:00
mjl
5d9e997522
Regen for stallion.
2001-01-22 13:58:37 +00:00
mjl
c77d1a22c4
Add stallion products.
2001-01-22 13:57:54 +00:00
jdolecek
8b24036797
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-22 13:56:55 +00:00
jdolecek
c684abec3c
add filecorefs LKM - noticed it's missing
...
XXX not tested
2001-01-22 13:41:51 +00:00
jdolecek
e359cb53f1
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
2001-01-22 13:32:23 +00:00
jdolecek
ecf8569ea6
make beep_waveform[] const
2001-01-22 13:31:45 +00:00
jdolecek
d3660a5f79
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
2001-01-22 13:18:29 +00:00
pk
57f38322d4
Add `-mno-fpu' to the compiler options once again: the current compiler
...
(egcs-2.91.66) is still liable to use FPU registers as temporaries.
2001-01-22 12:59:29 +00:00
shin
9ef14b26c7
- sync with i386.
...
- this change fixes bogus ESRCH error bug in writedisklabel().
2001-01-22 12:37:14 +00:00
jdolecek
d9466585b7
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
2001-01-22 12:17:35 +00:00
jdolecek
d0a540b250
rename vfs_op_init() to vfs_op_check() and make it only check the offsets
...
and number of ops, not touch anything - vnode_if.sh now generated
proper offset numbers; vfs_op_check() is only defined and called for DEBUG
kernels
constify extern declaration of vfs_op_descs[]
g/c vfs_opv_numops, use VNODE_OPS_COUNT instead
make vfs_opv_init_explicit() and vfs_opv_init_default() static
2001-01-22 09:57:25 +00:00
jdolecek
c3f6f769a3
regen: *_desc are generated correctly, new VNODE_OPS_COUNT,
...
structures constified
2001-01-22 09:53:31 +00:00
jdolecek
950412b4f5
when generating individual *_desc, generate also proper offsets so that
...
then don't need to be patched at runtime
add new define VNODE_OPS_COUNT (to vnode_if.h) so that the number is known
at compile-time
make stuff const, it now can be
2001-01-22 09:52:21 +00:00
toshii
577ac6e31c
Remove the line in audio_open which zeroes sc_[pr]r.blksize.
...
Because zeroing them causes zero division panic with devices which don't
support 8kHz mulaw, and the effect of this line was to force calling
audio_calcwater even when unnecessary.
2001-01-22 08:37:54 +00:00
tsubai
9b4793fd1b
#ifdef DREAMCAST --> #ifdef dreamcast.
2001-01-22 08:23:58 +00:00
tsubai
4791d269ec
-Dsh3 --> -D${TARGET_MACHINE}.
2001-01-22 08:22:15 +00:00
tsubai
ffb8bbbb30
#ifdef sh3 --> #ifdef __sh3__.
2001-01-22 08:18:06 +00:00
itojun
5a4703fbfe
revert revision 1.15 (on ingress, DF bit copied from inner to outer).
...
since we do not have feedback mechanism from path MTU to tunnel MTU
(not sure if we should), and inner packet source will not get informed of
outer PMTUD (we shouldn't do this), 1.15 behavior can lead us to
blackhole behavior.
configurable behavior (as suggested in RFC2401 6.1) would be nice to have,
however, reusing net.inet.ipsec.dfbit would be hairy.
2001-01-22 07:57:34 +00:00
itojun
a836499e32
make it possible to turn off ingress filter on gif/stf tunnel egress,
...
by using IFF_LINK2. (part of) PR 11163 from Ken Raeburn.
2001-01-22 07:51:01 +00:00
scottr
054277902e
Correct a thinko: iteopen()/iteclose() shouldn't just pass off to
...
the wsdisplay driver. Otherwise, closing ttye0 (ite compat) ends
up closing ttyE0, the actual console, when ttyflags runs. Fixes
PR 12022.
2001-01-22 07:31:44 +00:00
itojun
f92ee7af5c
sync indent.
2001-01-22 07:04:10 +00:00
mycroft
f2d987f8a4
Force certain commands (i.e. DVD authentication) to PIO mode. They are
...
explicitly not supported in DMA mode, and generally return an `illegal field
in CDB' error.
This should have been done ages ago.
2001-01-22 07:00:39 +00:00
oki
e5a86f5ec9
Fixed NEW_VMCMD used in one-line if-else with options DEBUG.
2001-01-22 06:42:31 +00:00
itojun
93deb6a97f
fix RR result bit in little endian systems. sync with kame
2001-01-22 02:28:02 +00:00
augustss
135068fdc8
Add clct.
2001-01-22 02:22:35 +00:00
wdk
8e913e0c2a
Use custom linker script for building ECOFF kernel images. The PROM loader
...
is fussy about the order of sections and location of memory gaps so we
must produce a firmware friendly version of the kernel as netbsd.ecoff for
network booting
The ELF version uses the standard mips linker script which can be loaded
by the new bootstrap routines
2001-01-22 01:54:03 +00:00
augustss
972d156775
Clean up a little.
2001-01-22 01:44:56 +00:00
augustss
62fe0f7f69
Add clct(4) driver.
2001-01-22 01:39:05 +00:00
augustss
45116f2c38
Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
...
Driver written by Tatoku Ogaito.
2001-01-22 01:34:42 +00:00
augustss
22a541e778
Add a comment.
2001-01-22 01:13:47 +00:00
marcus
aa94cdc6ad
Oops. Left a debug printout in there...
2001-01-21 23:53:09 +00:00
marcus
3c59914ed6
Added GDROM device.
2001-01-21 23:38:34 +00:00
marcus
36382f4889
Primitive GDROM support.
2001-01-21 23:30:28 +00:00
marcus
28f7e6dde5
Corrected license text.
2001-01-21 22:45:57 +00:00
marcus
ec45004dfc
Fixed double-stroke bug.
2001-01-21 22:44:40 +00:00
is
c1f1dff4bd
Amiga part of isdn4bsd, and an example kernel configuration file.
2001-01-21 22:23:07 +00:00
manu
9c111b5a93
Fixed wrong open() Linux flags definition (octal instead of hexadecimal)
2001-01-21 22:19:26 +00:00
augustss
7090ce901d
Defer stopping the interface on error to a process context.
...
XXX The cue changes have not been tested, since I don't have a cue adapter.
2001-01-21 22:09:23 +00:00
is
f3f791ab03
- Replace idesc by standard wdc attachment.
...
- Add A1200 pcmcia slot driver.
(Both where options already.)
2001-01-21 20:41:39 +00:00
is
fec2d92852
- Replace idesc driver by standard wdc attachment.
...
- Add PCMCIA driver for A1200.
(Both where options already.)
2001-01-21 20:38:20 +00:00
augustss
dfa2282053
Change watchdog routine. (From FreeBSD.)
...
The only thing stopping us from getting totally rid of the evil
USBD_NO_TSLEEP hack is the (broken) assumption in the MII driver that
registers can be read and written without a process context.
2001-01-21 19:42:29 +00:00
augustss
2a7443922d
Get rid of `#ifdef FreeBSD'; they maintain their own version.
2001-01-21 19:36:31 +00:00
augustss
aa75661373
Use the new usb_add_task() call to execute the statistics gathering.
...
This gets rid of the evil USBD_NO_TSLEEP hask from the cue driver.
2001-01-21 19:30:35 +00:00
augustss
996efaa78c
Ad a comment.
2001-01-21 19:00:29 +00:00
augustss
df20cb2972
Change the operation of the USB event thread. Before it only performed
...
USB device discovery, now it can also perform (short) tasks for device
drivers that need a process context, but don't have one.
This is not pretty, but better than using busy-wait in an interrupt context.
2001-01-21 19:00:06 +00:00
augustss
d8f68f3949
Add a quirk for devices that cannot handle full length INQUIRY.
...
From FreeBSD.
2001-01-21 18:56:38 +00:00
uch
349386fbd5
change kernel text start 0x8c010000 to 0x8c0001000
...
(I want to decrease dead area.)
2001-01-21 18:34:37 +00:00
uch
3d6806dcc8
hpcsh original device configuration.
2001-01-21 18:33:53 +00:00
augustss
8502ed9498
Remove `#ifdef FreeBSD'; they maintain their own version.
2001-01-21 16:55:11 +00:00
thorpej
3966e66ec8
Untangle some spl-spaghetti in cy_modem_control().
2001-01-21 16:55:10 +00:00
augustss
e391b64407
Change watchdog code (from FreeBSD).
2001-01-21 16:06:48 +00:00
augustss
1d6d81b317
Get rid of `#ifdef FreeBSD'; they maintain their own version.
2001-01-21 16:03:11 +00:00
augustss
25c15e3189
Regen.
2001-01-21 15:58:01 +00:00
augustss
f4f53b10ea
Another hub.
2001-01-21 15:57:41 +00:00
augustss
b2245c50fc
Several changes:
...
* Get rid of `#ifdef FreeBSD'; they seem to maintain their own version.
* Change watchdog code (from FreeBSD).
* Get rid of the horrible USBD_NO_TSLEEP hack.
* Repair some const damage.
2001-01-21 15:55:05 +00:00
itojun
69622e75ab
sync with latest kame.
...
- make icmp6.h spec conformant to 2292bis-02, regarding to router reumbering
flag bit.
- latest rtadvd.
2001-01-21 15:39:32 +00:00
takemura
7a78296f1c
Add items for 4bit/pixel frame buffer format.
...
Fix frame buffer information of Compaq Aero 1530.
The version of binaries get 1.17.0 2001.01.07.
2001-01-21 14:31:37 +00:00
takemura
9aa8ab9279
Use rasops with 4bit depth.
2001-01-21 14:00:32 +00:00
takemura
0906d8d1fe
Rasops supports 4bit depth.
2001-01-21 13:50:58 +00:00
scw
2c13177ff8
Create machine/m68k symlinks before trying to build the program.
2001-01-21 10:58:04 +00:00
takemura
82340f7df1
Built-in console driver supports 4bpp frame buffer.
2001-01-21 09:11:28 +00:00
christos
9bd2dee3b2
fix bit rot so that MP kernel compiles s/cpu_no/ci_cpuid/
2001-01-21 07:48:29 +00:00
christos
d36fa12430
knf, some symbolic constants would be nice [pvrreg.h]
...
christos
2001-01-21 05:26:10 +00:00