matthias
b45486b2a2
Make this work again by adding XS_CTL_ASYNC to the SCSI requests in
...
se_ifstart and se_recv.
1999-11-13 18:03:34 +00:00
matthias
2c3b2bd9f9
Make copystr return ENAMETOOLONG if maxlen == 0 (pointed out by Charles).
1999-11-13 18:01:27 +00:00
perry
a228a21023
no longer needed
1999-11-13 17:58:41 +00:00
perry
341edec257
make the comment on how to use the cinclude stuff for crypto clearer.
1999-11-13 17:57:28 +00:00
perry
53eda555f4
Integrate the IPv6 bits from GENERIC.v6
1999-11-13 17:54:17 +00:00
scw
0587ca2eaa
Make this work with the new scsibus mid-layer, using Ignatios' Amiga
...
fix as a reference.
1999-11-13 15:33:57 +00:00
minoura
1a29be4d0c
Increase ramdisk size.
1999-11-13 14:19:46 +00:00
soren
748b241afb
Export softc.
1999-11-13 13:40:28 +00:00
soren
0b0e306a89
Add almost-PCI IDE attachment for the Toshiba Portege 3000 series.
1999-11-13 13:39:17 +00:00
pk
a9cdefb6e6
Remove implementation of the `-h' and `-a' options.
1999-11-13 12:09:41 +00:00
simonb
7fdf32e3d0
Defopt MAXUPRC.
1999-11-13 05:02:25 +00:00
thorpej
5251ca4af1
Hello 1.4N! (pmap_enter() API change)
1999-11-13 00:33:04 +00:00
thorpej
1946167939
Update for pmap_enter() API change. No functional difference.
1999-11-13 00:30:26 +00:00
thorpej
abff7cb610
Update for pmap_enter() API change.
1999-11-13 00:27:21 +00:00
thorpej
59cbff957d
Update for pmap_enter() API change, and return failure if possible.
1999-11-13 00:26:22 +00:00
thorpej
1da427a80a
Change the pmap_enter() API slightly; pmap_enter() now returns an error
...
value (KERN_SUCCESS or KERN_RESOURCE_SHORTAGE) indicating if it succeeded
or failed. Change the `wired' and `access_type' arguments to a single
`flags' argument, which includes the access type, and flags:
PMAP_WIRED the old `wired' boolean
PMAP_CANFAIL pmap_enter() is allowed to fail
If PMAP_CANFAIL is not specified, the pmap should behave as it always
has in the face of a drastic resource shortage: fall over dead.
Change the fault handler to deal with failure (which indicates resource
shortage) by unlocking everything, waiting for the pagedaemon to free
more memory, then retrying the fault.
1999-11-13 00:24:38 +00:00
thorpej
a25b1ab916
Always pass all arguments to uvm_sleep().
1999-11-13 00:21:17 +00:00
lukem
0888d71168
recognise the ACER labs M1543 PCI-ISA Bridge in siomatch(). the DS10 now boots!
...
thanks to thorpej/ross/mrg for helping me out on this.
1999-11-12 22:07:28 +00:00
kleink
c52f431558
Bring high-resolution time interfaces closer to SVR4:
...
* Change gethrtime() to use mono_time.
* gethrvtime() is defined to return the lwp/process's virtual time;
use p_rtime augmented with the current runtime.
Reviewed by: christos
1999-11-12 20:45:44 +00:00
mjacob
5f4088eb26
Hide function definition within ifdef's is becomes active in.
1999-11-12 19:11:25 +00:00
drochner
f165ee13d2
include "pnpbios" definitions
1999-11-12 18:40:07 +00:00
drochner
59e13361f3
make "i386_isa_chipset" globally visible so it can be used from outside
...
the "isa" bus, attach "pnpbios" pseudo-bus if configured
1999-11-12 18:39:38 +00:00
drochner
8f5c3d689b
add GDT segments for pnpbios use
1999-11-12 18:37:29 +00:00
drochner
2298f7abf4
"pnpbios" pseudo-bus. Reads out device IDs and ressource usage from the
...
BIOS and attaches devices to it.
While it is potentially able to deal with all the motherboard ISA
devices, it is only used in hairy cases for now - laptop stuff in
particular.
1999-11-12 18:36:46 +00:00
joda
f9bf746086
(cardbus_attach_card): don't free cc
1999-11-12 18:18:38 +00:00
joda
4278cf451e
if the image size is zero, assume it really means one block
1999-11-12 18:17:36 +00:00
thorpej
4bdf6bd731
Call mii_down() as appropriate.
1999-11-12 18:14:17 +00:00
thorpej
bca88a28c8
Add mii_down(), which is used by MAC drivers to inform PHYs that the
...
interface is now down. PHYs use this to cancel pending asynchronous
operations.
1999-11-12 18:12:59 +00:00
perseant
fc5ecbb5a8
Back out my patch of the 8th (to address unreferenced inode problem).
...
Apparently this needs more thought.
1999-11-12 16:56:48 +00:00
is
71d206232b
Return the data length even for non-readonly strings, as advertized.
1999-11-12 16:10:16 +00:00
lukem
e8dc21a13a
add -DNET_DEBUG to the list of commented-out debug options
1999-11-12 13:13:59 +00:00
lukem
053d3c3702
fix pointer size in debug message
1999-11-12 13:12:09 +00:00
simonb
2b6e59dd39
Don't include <lib/libkern/libkern.h> for prototypes that are also in
...
<lib/libsa/stand.h>. The alpha still needs libkern for the division
and remainder support.
1999-11-12 13:11:40 +00:00
simonb
7a03e8cda8
Add memset() prototype.
1999-11-12 12:24:42 +00:00
simonb
c24b109ff0
"zutil.h" includes <lib/libsa/stand.h> now.
1999-11-12 12:12:13 +00:00
simonb
fffdb85f69
Include <lib/libsa/stand.h> so that this builds with WARNS=1
1999-11-12 12:11:31 +00:00
is
1c37111492
Identification of DOMEX PCI-SCSI board, by Thilo Manske, PR 8772.
1999-11-12 12:03:32 +00:00
nisimura
91fd021893
- Arrange 'platform' struct to have clkread entry, which can interporate
...
HZ using high resolution timer circuit if available. Merge os_init
into the primary hardware initialization in sysinit[].init.
- Nuke an irrelevant attempt to disable RTC under splhigh condition.
- Make sure IOASIC DECstations accumulate device interrupt mask bits into
certain global variables.
- Have witchcrafts to issue ACK to RTC interrupt.
- Add a missing \n and a minor rearrangement in cpu.c
1999-11-12 09:55:37 +00:00
mark
3d347d6d24
Regenerate from podules.
1999-11-12 07:38:51 +00:00
mark
9d919b7239
Add EtherI and EtherN podule ID's
...
From Mike Pumford, part of PR/8765.
1999-11-12 07:37:21 +00:00
mark
e28a162f54
In _bus_dma_sync() drain the write buffer after the cache clean.
...
Spotted by Richard Earnshaw.
1999-11-12 07:29:34 +00:00
nisimura
95e2c7af76
Make sure wbflush symbol treated as a C function call.
1999-11-12 06:17:13 +00:00
matt
d2434ef890
remove reference to auxiotwo
1999-11-12 06:15:38 +00:00
matt
73ae3282ab
turns we need to tweak the auxio1 reg to enable the modem. also fix a call
...
to sbus_bus_map. it's closer to working but I wonder if COM_FREQ is the
right value.
1999-11-12 05:20:03 +00:00
matt
8ffb2596c7
make this compile under current
1999-11-12 04:42:19 +00:00
matt
3744fe193f
add some stuff needed for pcmcia support
1999-11-12 04:41:46 +00:00
simonb
4abf82d09b
Remove references to libkern after Jason's recent work to libsa.
1999-11-12 01:37:42 +00:00
simonb
3f691021a6
Add strncpy().
...
Add prototypes for bcmp(), bzero() so the libsa compiles with WARNS=1
1999-11-12 01:26:28 +00:00
augustss
0d2fabdf26
A number of stylistic changes to increase readability (many suggested
...
by Nick Hibma):
use NULL not 0
declare all local definitions static
rename s/usbd_request/usbd_xfer/ s/reqh/xfer/
rename s/r/err/
use implicit test for no err
KNF
1999-11-12 00:34:57 +00:00
augustss
c8ad47986a
Regen.
1999-11-12 00:26:39 +00:00
augustss
505ab77387
Add a modem from ELSA.
1999-11-12 00:26:13 +00:00
thorpej
ab395306cd
Small, MI strcat() and strcpy().
1999-11-11 21:23:27 +00:00
thorpej
a7abffa1f2
The hack needed to work around gcc lameness.
1999-11-11 20:36:52 +00:00
thorpej
5dde9d67c2
Don't reference libkern.h in standalone programs.
1999-11-11 20:31:07 +00:00
thorpej
47f5c977ef
Don't reference libkern.h.
1999-11-11 20:28:04 +00:00
thorpej
e29afb6f98
No longer need to build libkern.
1999-11-11 20:27:42 +00:00
thorpej
471a3aa8e4
Update for the improvements to libsa, and don't reference libkern.h.
1999-11-11 20:23:16 +00:00
thorpej
38200dd3e4
Networking routines needed for libsa to be self-contained.
1999-11-11 20:21:59 +00:00
thorpej
c29af30c3c
Minimal quad routines needed for libsa to be self-contained. The compiler
...
emits a reference to this one in the UFS code.
1999-11-11 20:20:35 +00:00
thorpej
cad7e97082
Add small, MI strcmp(), strlen(), and strncmp() functions. Modules within
...
libsa depend on them, to it seems rather silly to have to build an additional
library (e.g. libkern) to get them.
1999-11-11 18:11:25 +00:00
thorpej
d642bd03d1
Add register prefixes.
1999-11-11 17:08:37 +00:00
matt
1138f7e762
add COMPAT_14
1999-11-11 15:55:53 +00:00
scw
3981e235b7
Zero is a valid value for ch_tcor and ch_rcor, so be a bit more conservative
...
when deciding if the baud-rate should be changed. (Spotted by Bruce Martin)
Also fix the mask used when setting the Rx FIFO threshold to zero. I don't
yet understand how the Rx side worked with the code as it was. ;-}
1999-11-11 09:38:43 +00:00
itohy
de6b762004
Make X680x0 IOCS library build on ELF toolchain.
1999-11-11 08:16:20 +00:00
itohy
59c36c2cb6
Make Human68k DOS library build on ELF toolchain.
1999-11-11 08:14:43 +00:00
itohy
fcc45340da
Make it build on ELF toolchain.
1999-11-11 08:12:50 +00:00
thorpej
ac3150a13d
Add register prefixes.
1999-11-11 01:53:46 +00:00
thorpej
9aeef983e2
Sync w/ libc.
1999-11-11 01:32:10 +00:00
thorpej
2859f66b8f
Add register prefixes.
1999-11-11 01:27:59 +00:00
thorpej
f16bb11bf0
Add register prefixes.
1999-11-10 23:17:21 +00:00
hubertf
83964cc3e3
add (commented out) APM options
1999-11-10 22:39:45 +00:00
augustss
445d6f8e64
Regen.
1999-11-10 19:47:39 +00:00
augustss
f2725f06b8
Add another Quickcam.
1999-11-10 19:46:40 +00:00
thorpej
fac9817d52
Define ELF_ST_*() to ELF{32,64}_ST_* as appropriate. They evaluate to
...
the same thing, but this provides consistency with everything else.
1999-11-10 17:31:56 +00:00
drochner
283100a20d
clarify diagnostic message about nonstandard/reserved/OEM defined
...
event codes
1999-11-10 16:55:25 +00:00
drochner
536f716be9
use console_debugger() on CTL-ALT-ESC to honour the ddb.onconsole sysctl
1999-11-10 16:52:14 +00:00
drochner
3bc4cec200
allow to set multiple keyboard "variants" simultanously.
...
Follows PR kern/8456 by Michael Eriksson <eramore@era-t.ericsson.se>,
implemented diffently.
1999-11-10 16:49:38 +00:00
matt
391c8e434d
regen
1999-11-10 15:56:39 +00:00
matt
805b56adb4
Add Entrega USB Serial->DB9 widget
1999-11-10 15:55:51 +00:00
leo
0c76b12125
Give lp->d_type a value other than 'unknown'. When the model is "ST506",
...
the d_type field becomes DTYPE_ST506, otherwise it will be set to DTYPE_ESDI.
1999-11-10 14:11:34 +00:00
tsubai
90a8355d04
Support md root for INSTALL.
1999-11-10 13:33:09 +00:00
augustss
8276207b08
Regen.
1999-11-10 12:31:31 +00:00
augustss
8436192416
Add two more devices.
1999-11-10 12:31:01 +00:00
nisimura
24a33d9f37
Remove a small scale 'improvement' for TLB mod exception which is now
...
found harmful. Fix panics on MIPS1 only kernels.
1999-11-10 08:06:05 +00:00
mycroft
fd8d1c65eb
Add USB support.
1999-11-10 05:57:52 +00:00
mycroft
74ca1c37ef
Deal with /psuedo-hid in the following atrocious way:
...
* If only one of ukbd or akbd is configured, use the node for that device.
* If both are configured, use ukbd.
Ultimately, the right way to deal with this is probably so simulate the effect
of /psuedo-hid using wsmux. But not today.
1999-11-10 05:23:18 +00:00
mycroft
f8934aa2f6
Modification to the previous:
...
We still have to preload the command, when selecting without ATN. (We could
probably avoid this by being more careful in the interrupt handler...)
1999-11-10 05:02:53 +00:00
mycroft
58fec0d55a
When sending a REQUEST SENSE, do *not* attempt to create an I_T_L nexus. This
...
is technically wrong, and some targets (like my 4x NEC CD-ROM drive) misbehave
when we do.
1999-11-10 04:21:30 +00:00
mycroft
105a2438f9
Fix an obvious bug is some diagnostic code; we must lower our spl again...
1999-11-10 04:19:59 +00:00
mycroft
5b75863870
A residual after select with DMA step 2 is legitimate (in fact, *not* having a
...
residual would probably be cause for concern), so don't spew about it.
1999-11-10 00:42:37 +00:00
thorpej
c718a7c548
Add register prefixes.
1999-11-10 00:13:59 +00:00
thorpej
e9e011443c
Add register prefixes that I missed before.
1999-11-10 00:02:23 +00:00
thorpej
ae13d86f18
Add register prefixes.
1999-11-10 00:01:32 +00:00
kleink
b4f0936a8c
Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
...
all the information is available from <sys/exec_elf.h>.
1999-11-09 21:50:18 +00:00
kleink
a894c76852
Fix comment typo introduced in rev. 1.27.
1999-11-09 21:38:09 +00:00
kleink
1c2019b5a8
Rip protection against multiple inclusion from wrapper headers.
1999-11-09 21:34:03 +00:00
mycroft
8f05f33e49
Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
...
already too large, and GENERIC won't be far behind.
1999-11-09 18:39:41 +00:00
augustss
e9fc8103ca
Make detach wait for interrupts to finish.
...
Bail out in interrupt routine when device is dying.
1999-11-09 16:52:14 +00:00
augustss
3ea93b7669
Make sure to call vdevgone() on all devices when deteching.
1999-11-09 16:50:47 +00:00
joda
c7cca9cd39
make this compile with CARDBUS_DEBUG
1999-11-09 15:03:59 +00:00