Commit Graph

118962 Commits

Author SHA1 Message Date
matt
12ecf72b47 Don't zero curlwp/curpcb in cpu_switchto.
Use correct register in the store conditional.
Add DIAGNOSTIC check for null curpcb on cpu_switch exit.
2003-10-17 21:08:57 +00:00
thorpej
2d858d3912 Add internal representation for i82545 rev 3, i82546 rev3, i82541,
i82541 rev 2, i82547, and i82547 rev 2.
2003-10-17 20:57:32 +00:00
thorpej
e3ca7c2c73 Make the "align tweak" factor per-interface (since the MTU is per-interface). 2003-10-17 20:41:21 +00:00
enami
bae9643b84 Increment stats when packet is dropped since there is no room
to put all fragments in the interfaces's send queue.  Some large
UDP packets are dropped here and administrator may want to bump ifqmaxlen.
2003-10-17 20:31:12 +00:00
cdi
61da4642b8 Introduce null console. This pseudo device acts as a normal console with the
exception that it discards any output, and is useful for booting the kernel
on headless boxes.
2003-10-17 20:27:38 +00:00
fvdl
c8c91c50dd Correct VM_MAXUSER_ADDRESS definitions, it was wasting a few pages. 2003-10-17 20:27:00 +00:00
matt
67ab911529 Add a KASSERT() to verify the pcb is not NULL. 2003-10-17 19:56:18 +00:00
jdolecek
1af201c35f g/c ed0/ed1 nodes, the hardware is not present on amd64 2003-10-17 19:22:58 +00:00
jdolecek
ad4acc4abb allow also tty[0-9] for serial ports, they are convenient synonyms
for tty0[0-9]
as pointed out by David Laight

remove spaces between makedisk_p*() functions, so the output script looks
neater once some of them are filtered out
2003-10-17 19:06:33 +00:00
jdolecek
edf6a76108 improve error checking, and bail out early, instead of looping
when filtering the template, leave only the wanted makedisk_p*() routine
in the output
as pointed out by David Laight

also make it mandatory for MACHINE and MACHINE_ARCH to be set in
environment; it would be possible to use use uname -p/-m, but better
to catch possible cross-build mistakes sooner than later
2003-10-17 19:01:49 +00:00
christos
7bd301151f When searching backwards don't include the characters after the cursor in
the search.
2003-10-17 18:49:11 +00:00
cdi
d65b10404c Change console code to use cninit() and null console. Add serial console
check.
2003-10-17 18:20:10 +00:00
cdi
2b3e81f067 Introduce null console. This pseudo device acts as a normal console with the
exception that it discards any output, and is useful for booting the kernel
on headless boxes.
2003-10-17 18:16:42 +00:00
tsutsui
3a646e9b6c Add some delay before calling comcnattach() to wait
previous console output to complete.
2003-10-17 18:15:52 +00:00
jdolecek
20282f8b2e change minor of /dev/zero for ARM ports to 12, so that it is same as on other
ports; follows the kernel change
2003-10-17 17:56:28 +00:00
tsutsui
f7772c7c77 - No need to set VR_TXCTL_TLINK in vr_start() because all TX buffers have
only single segment.
- No need to set VR_CMD_TX_ON in vr_start().
- Initialize BCR0 and BCR1 registers.
- Change RX DMA threshold 128bytes.

Mostly from FreeBSD via OpenBSD.
2003-10-17 17:42:35 +00:00
tsutsui
19e183345a Add vr at pci and dmphy at mii. Tested on my O2. 2003-10-17 17:18:16 +00:00
fredb
45acbd9baf ntp-4.2.0 is released. 2003-10-17 16:57:16 +00:00
mycroft
568ccf202d Add a comment explaining the INQUIRE behavior. 2003-10-17 16:44:48 +00:00
tsutsui
631fad8686 Misc cosmetics. 2003-10-17 16:39:09 +00:00
fvdl
5b12e0425d Put the ucontext pointer in %r15 for signal delivery, so that it is
saved across the handler call.
2003-10-17 16:24:31 +00:00
fvdl
2b9ab2aab8 Get ucontext pointer back out of callee-saved register %r15. 2003-10-17 16:23:20 +00:00
tsutsui
0a3ddecb47 Use common PCI macro/functions for PWRMGMT. 2003-10-17 16:00:43 +00:00
wiz
432d3289ba Bump date for previous. Replace > with \*[Gt]. 2003-10-17 15:33:23 +00:00
yamt
818ef92da6 add comments and tweak code a little for readability.
(no behaviour changes)
2003-10-17 14:20:12 +00:00
sekiya
a747a8f16d Mouse port offset was incorrect. 2003-10-17 12:43:08 +00:00
sekiya
4762dcf39b Bring the sgimips MD code into sync with the rest of the ports. 2003-10-17 10:58:16 +00:00
dyoung
0f78752f52 Awk prefers regex escapes to look like \\ instead of \. Go figure.
This patch squashes hundreds of annoying warning messages:

awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
2003-10-17 09:51:24 +00:00
wiz
c9317ea9c9 Misc markup fixes (avoid \f.); sort sections; use standard section headers;
drop trailing spaces; sort SEE ALSO; no content change.
2003-10-17 09:42:42 +00:00
keihan
5062de16fc Add BGP, GPU, IC, MAC, PTLA, RGB, TLA and fix CPU.
OK'd by salo@
2003-10-17 08:56:39 +00:00
sekiya
af12cdb68a Compile dsclock_hpc.c only if dsclock is present in config file. 2003-10-17 06:49:34 +00:00
lukem
3f725c3c63 ccdconfig(8) CCDF_NOLABEL support 2003-10-17 05:25:10 +00:00
lukem
3f580214e5 Support CCDF_NOLABEL. Document what CCDF_UNIFORM actually does. 2003-10-17 05:23:56 +00:00
lukem
0b441623fe Add user flag CCDF_NOLABEL to prevent the on-disk label from being read
during CCDIOCSET.
Use this when creating a new ccd to ignore any existing disklabel
which is probably wrong.
2003-10-17 05:16:15 +00:00
sekiya
2a1438cc36 Add myself to list of developers. 2003-10-17 04:45:40 +00:00
dyoung
5dca575ce1 ieee80211_newstate() wants for ic->ic_state to equal the previous
state, so do not update ic->ic_state in wi_newstate() before calling
ieee80211_newstate(). Instead, update ic->ic_state when we do not
let ieee80211_newstate() run.
2003-10-17 03:58:23 +00:00
lukem
a305f0dedb syslogd -r 2003-10-17 01:42:07 +00:00
lukem
fdffaa3fe5 Implement -r, which prevents syslogd from compressing multiple messages with
the same string into "last message repeated N times", and instead forces
syslogd to write out every message.

Based on '-c' in FreeBSD's syslogd, although a different option letter was
chosen because their syslogd requires '-c -c' to get this functionality,
and we don't have the support for logging to pipes which is what FreeBSD's
syslogd with a single '-c' is related to.
2003-10-17 01:39:25 +00:00
mycroft
e879d3a728 PQUIRK_NOSENSE is dead here. Remove the code supporting it. 2003-10-17 00:20:28 +00:00
mycroft
f8a10571e5 Remove the Fuji quirk from here, too. 2003-10-17 00:19:46 +00:00
mycroft
3fd37812f4 The Yano quirk was intended to do FORCE_SHORT_INQUIRY. Not that that's gone,
we shouldn't need this any more, so nuke it.
2003-10-17 00:12:58 +00:00
mycroft
ecb8d5d482 Set the REQUEST SENSE command length to 12 for ATAPI, too. (UFI and ATAPI are
really the same...)

Fixes problems with Sony Vaio memory stick slots, which advertise themselves as
"ATAPI over CBI".

Remove the quirk for Fuji cameras, since this is almost certainly the same bug.
2003-10-16 23:39:40 +00:00
fvdl
6a6db3cbd9 Add hooks and structures to allow the MP table intr mapping code a
better shot at finding a mapping. For PCI interrupts, if a bus
has no mappings, try its parent, with the swizzled pin, and the
bridge's device number.
2003-10-16 22:56:29 +00:00
mycroft
055625357d Whoops, set cmd_length correctly for the 36-byte INQUIRE. 2003-10-16 22:46:07 +00:00
christos
5d79eff8f5 More libedit readline emulation functions from: Gerry Swislow
<gerry at certif dot com>
2003-10-16 22:26:32 +00:00
matt
f90b1121c4 bpfattach/bpfdetach need to be protected with NBPFILTER > 0 2003-10-16 22:25:00 +00:00
matt
9d4b91ab87 Keep the unsigned, just add HOST_WIDE_INT. 2003-10-16 22:08:01 +00:00
matt
6bcdd1cd1e Cast using HOST_WIDE_INT, not unsigned. 2003-10-16 22:02:25 +00:00
christos
99e15c71d0 I got tired of typing a cc line. 2003-10-16 21:41:46 +00:00
christos
a246b45de2 Fix incremental search which was badly busted. 2003-10-16 21:41:26 +00:00