Bill Fumerola
8f8f11aa99
Add tx to the list of miibus using network drivers. We already build tx in
...
/sys/modules for alpha, and it compiles on beast.
2000-09-11 21:21:37 +00:00
Bill Fumerola
eaeac22d2c
Move tx to the list of drivers that now require miibus.
2000-09-11 21:20:39 +00:00
Matt Jacob
86b9bd5cdc
Well, this works for me and I can now boot my PC164 again.
...
Nobody said it broke their system.
2000-09-11 21:10:25 +00:00
David Malone
1c06ce6197
Add the ability to define a "shutdown" and "shutdown and poweroff" key
...
to syscons. I have a man page to follow describing the format of the
kbdmap file.
PR: 19273
Reviewed by: sheldonh
2000-09-11 20:37:42 +00:00
Semen Ustimenko
eed59f52da
Sign tx driver as using miibus code.
2000-09-11 20:10:16 +00:00
John Baldwin
e2059d0bfb
Back out previous revision now that sys/random.h is properly fixed.
2000-09-11 19:34:04 +00:00
John Baldwin
72ece4ad37
Forward declare 'struct proc'.
...
Requested by: bde
2000-09-11 19:33:38 +00:00
John Baldwin
ecbcd538a4
Move the prototypes for random_set_wakeup* from yarrow.c to yarrow.h so that
...
both yarrow.c and harvest.c can use them.
Approved by: markm
2000-09-11 19:31:28 +00:00
Archie Cobbs
6612c70eb1
Don't do snd_nxt rollback optimization (rev. 1.46) for SYN packets.
...
It causes a panic when/if snd_una is incremented elsewhere (this
is a conservative change, because originally no rollback occurred
for any packets at all).
Submitted by: Vivek Sadananda Pai <vivek@imimic.com>
2000-09-11 19:11:33 +00:00
Bruce A. Mah
a645e023dc
Arrgh. Back out a change used during debugging and fix a typo.
2000-09-11 18:25:12 +00:00
Bruce A. Mah
fe936fcbe2
New release notes: OpenSSH->2.2.0, binutils->2.10.0, libreadline->4.1,
...
ifconfig(8) lladdr, bktr(4)->2.1.5.
2000-09-11 18:18:57 +00:00
Poul-Henning Kamp
5ef2707e6e
revent multiple make_dev() calls on the same dev_t and similar bogosities.
...
A couple of new warnings may be emitted during boot if drivers DTWT.
Tested by: George Cox <gjvc@gjvc.com>
2000-09-11 17:15:33 +00:00
Poul-Henning Kamp
e2397c3ab0
Prevent multiple make_dev() calls on the same dev_t and similar bogosities.
...
A couple of new warnings may be emitted during boot if drivers DTWT.
Tested by: George Cox <gjvc@gjvc.com>
2000-09-11 17:15:27 +00:00
Bruce A. Mah
413f71808b
Note MFC: killall(1) as a C program, boot98cfg(8) for i386.
2000-09-11 15:08:21 +00:00
Roger Hardiman
26d8b8af6f
Make MOD_UNLOAD return EBUSY to prevent it being unloaded automatically when we
...
unload the bktr driver.
Change the sub-section from SI_SUB_PSEDUO to SI_SUB_DRIVERS to make
sure the module initialises before the bktr module
2000-09-11 12:23:50 +00:00
Roger Hardiman
0950aa881d
Add bktr_mem_loader, default to NO.
...
In the near future the bktr module will need the bktr_mem module too.
2000-09-11 10:46:03 +00:00
Roger Hardiman
403cbdd892
Change to SI_ORDER_FIRST to make sure this module runs before
...
the bktr module if both are loaded at the same time (eg in the boot
loader)
2000-09-11 10:37:27 +00:00
Sheldon Hearn
8aab42e13f
Mark a path up with Pa.
2000-09-11 10:21:10 +00:00
Sheldon Hearn
a9264f3e65
Whitespace-only change: apply normal line breaking style.
2000-09-11 10:19:15 +00:00
Roger Hardiman
5c8dc2dd0d
Add MODULE_VERSION and MODULE_DEPENDS to make the bktr module load the
...
bktr_mem module
2000-09-11 07:14:43 +00:00
John Baldwin
d742034d88
The alpha doesn't have a eflags register, so don't refer to it here.
2000-09-11 06:42:50 +00:00
Warner Losh
d594498f75
Add warning from Sheldon and others about stale modules
...
Add warning from markm about randomdev vs random change in loader
2000-09-11 05:59:00 +00:00
John Baldwin
ebbb6afce3
Add #include's of sys/proc.h and sys/param.h to silence a warning.
2000-09-11 05:51:58 +00:00
John Baldwin
2c98102ef1
Fix a 64-bitism, use size_t instead of u_int for 4th arg to copyinstr.
2000-09-11 05:45:06 +00:00
John Baldwin
38a6ecf4de
Fix a 64-bitism. Use size_t instead of int for 4th argument to copyinstr.
...
Approved by: rwatson
2000-09-11 05:43:02 +00:00
John Baldwin
43e585ce84
Don't tell printf() to output a sign when printing out a value as hex.
...
kvprintf() doesn't print out a sign for hex anyways.
2000-09-11 05:28:52 +00:00
John Baldwin
3f7ca8f3d2
- Remove duplicate cp_time declaration.
...
- Use extended printf format string version of KTR trace points.
2000-09-11 05:23:21 +00:00
John Baldwin
131568fdb5
Relocate sys/systm.h #include to quiet warning.
2000-09-11 05:19:37 +00:00
John Baldwin
016298c2dd
Forced commit to note that the previous commit only applied to the alpha
...
architecture. Also, forgot an acknowledgement:
Detective help from: wpaul
2000-09-11 05:12:54 +00:00
John Baldwin
a0e1678488
Add a nasty hack to get remote kernel gdb working from ddb. ddb would
...
complain before that a suitable gdb port had not been setup because gdbdev
was NULL. This abuses the fact that the gdb port is hard-coded to the
address normally assigned to sio1 and thus hard-codes in sio1 as the gdb
port. Yuck.
2000-09-11 04:33:36 +00:00
John Baldwin
b162b45509
When doing statistics for statclock on other CPU's, use the other CPUs'
...
idleproc pointers instead of our own for comparisons.
Submitted by: tegge
2000-09-11 04:10:29 +00:00
John Baldwin
2ed0f9191a
- Use RFHIGHPID when creating the kthread to get a more sensible pid.
...
- Don't fake walking a tailq. Instead, use a while loop that pulls items
off the head of the queue while the queue is not empty.
2000-09-11 04:09:08 +00:00
John Baldwin
a93a7807b2
aio processes need to have the Giant mutex before doing work.
...
Submitted by: tegge
2000-09-11 04:06:48 +00:00
Jason Evans
69ef67f983
Add malloc_mtx to protect malloc and friends, so that they're thread-safe.
...
Reviewed by: peter
2000-09-11 02:32:30 +00:00
Jake Burkholder
e66ccea4a1
Add scant documentation for msleep.
2000-09-11 00:52:31 +00:00
Jake Burkholder
817bf5d4a6
Rename tsleep to msleep and add a mutex argument, which is
...
released before sleeping and re-acquired before msleep
returns. A compatibility cpp macro has been provided for
tsleep to avoid changing all occurences of it in the kernel.
Remove an assertion that the Giant mutex be held before
calling tsleep or asleep.
This is intended to serve the same purpose as condition
variables, but does not preclude their addition in the
future.
Approved by: jasone
Obtained from: BSD/OS
2000-09-11 00:20:02 +00:00
Jason Evans
62820f25f5
Allow interrupt threads to run during shutdown. This should fix the
...
"dirty buffers during shutdown" problem introduced by the SMPng commit.
Submitted by: tegge, cg
2000-09-10 23:06:50 +00:00
Jacques Vidrine
6737f02e97
Set h_errno when an error is encountered.
...
PR: bin/21092
Submitted by: Alexander Kabaev <ak03@gte.com>
2000-09-10 19:06:05 +00:00
Hajimu UMEMOTO
31a054d673
Make default interface work.
...
Obtained from: KAME
2000-09-10 18:18:10 +00:00
Brian Feldman
4a950c224b
Fix a few style oddities.
2000-09-10 18:04:12 +00:00
Brian Feldman
dd5f9dffd6
Fix a goof in timevaldiff.
2000-09-10 18:03:46 +00:00
Doug Rabson
55f0c30072
Fix this so that we actually define HAVE_PNP when its available.
2000-09-10 17:11:27 +00:00
Roger Hardiman
b478e142f0
Update to build both bktr and bktr_mem modules
2000-09-10 15:40:20 +00:00
Doug Rabson
28c4f9b685
Remove the manipulation of the Giant mutex from the interrupt entry
...
points. This can't work right anyway and needs to happen in the irq thread.
2000-09-10 15:39:23 +00:00
KATO Takenori
c79612098e
Moved boot0cfg into IBM-PC only section (MACHINE=="i386").
...
Pointed out by: nyan
2000-09-10 15:33:07 +00:00
Doug Rabson
2b3d792f0f
Use '&' instead of '%' to calculate the new value for ktr_idx.
2000-09-10 14:36:55 +00:00
David Malone
8f53d1f12d
pmcd_value is actually a quad_t.
2000-09-10 14:35:20 +00:00
Roger Hardiman
dd11af6637
Update to driver 2.15.
...
Main change is the addition of the bktr_mem module.
This holds onto the bktr driver's contiguously allocated memory
when the bktr driver is unloaded and reloaded.
This has to be done because it is virtually impossible to get
contiguous memory once a system is running.
Also tidied up the use of SMBUS, added a new Hauppauge tuner type (0x2c)
and a new Flyvideo vendor ID.
2000-09-10 14:34:08 +00:00
Mark Murray
452d07c1ce
Provide keyboard entropy harvesting for PCVT users.
2000-09-10 14:31:40 +00:00
Mark Murray
22566d9dd5
Harvest mouse events for the entropy device in a better place. In the
...
new location, all mouse events are harvested, not just the ones being
written out to moused(8). This means that mouse entropy is harvested
at the consoles as well as in X.
2000-09-10 14:27:17 +00:00