Commit Graph

75789 Commits

Author SHA1 Message Date
jdolecek b6fcf9e157 make data arrays in skeleton.c const 2001-01-23 15:35:01 +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
cgd 2f928e31d3 <sys/time.h>, rather than <time.h>. The former is actually the documented
way to get gettimeofday(), etc.  On some systems on which you might want
to host make (e.g. solaris), <time.h> won't get you a struct timeval
definition.
2001-01-23 02:48:05 +00:00
ichiro db3f510ee6 s/2000/2001 :-)
and typo.
2001-01-23 02:36:17 +00:00
mycroft 1fa165bd82 Fix a rather glaring byte-swapping bug: di_size is 64 bits, not 16. 2001-01-23 02:35:51 +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
augustss ac0c719f62 Add uplcom(4). 2001-01-23 02:15:13 +00:00
augustss 2a80f01a2c Add and xfer uplcom(4). 2001-01-23 02:14:01 +00:00
blymn 91a2e44938 Fix off by one bug in field scrolling decision when inserting chars. 2001-01-23 02:01:56 +00:00
blymn 6334f1911b Added support for the O_OVERLOAD_* form options. 2001-01-23 01:59:29 +00:00
blymn b7108db3c2 Added check for null args pointer. 2001-01-23 01:57:01 +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 e02943e815 add man page of uplcom 2001-01-23 01:42:33 +00:00
jmc 2bf9cb72c4 Redo inode allocation to get a few bytes back 2001-01-23 01:36:24 +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
jmc b70406007d Fix various typo's so this compiles. 2001-01-23 01:22:32 +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 d3e1f8d08f Remove <arm26/armreg.h>. 2001-01-22 22:15:23 +00:00
bjh21 ca87c74ca8 Add <arm/armreg.h>. Remove <arm26/armreg.h>. 2001-01-22 22:12:51 +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 2962c6f0a3 Fix typo. 2001-01-22 21:58:17 +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
is 083ffe26fe This should fix PR 11865 by Petri Koistinen: modelines too short by more
than one entry would only be detected by a (core dumping) strtol().
2001-01-22 21:11:23 +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
itojun 64a16b4f7e ru_SU locales are deprecated, ru_RU is now correct one.
rename LC_CTYPE locale declarations and vi message catalog.

From: Oleg Polyanski <luke@jetinf.com>
2001-01-22 17:48:15 +00:00