Commit Graph

75459 Commits

Author SHA1 Message Date
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
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
lukem
3e7f1eed59 add usr.bin/xlint as a possible program to upgrade 2001-01-22 14:24:53 +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
tsubai
0377b86621 Remove -Dunix, s/-Dsh3/-D__sh3__. 2001-01-22 08:16:24 +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