phk
95a1cabbb9
Add a missing vnode_if.h.
...
Submitted by: Jim Bloom <bloom@acm.org>
2001-01-01 11:28:32 +00:00
sobomax
9628e1f0a6
We are now in the year 2001, so ajust copyrights.
...
Happy New Year!
2001-01-01 08:05:48 +00:00
jhb
c368baf0b4
Push down sched_lock in psignal(). sched_lock was being held across
...
recursive calls into psignal() as well as calls to signotify(),
forward_signal(), etc.
2001-01-01 02:31:08 +00:00
jhb
37f5912410
Add in a missing release of the proctree lock.
...
Submitted by: Sja <sakari.jalovaara@eqonline.fi>
2001-01-01 02:19:51 +00:00
mjacob
45232b4094
Add a dopey makefile to do the tags dance, which is probably not perfect
...
but is better than nothing by a good deal.
2000-12-31 23:26:34 +00:00
mjacob
984784059a
there is no more miscfs/devfs
2000-12-31 23:12:20 +00:00
mjacob
21bcb778b3
Fix problems with incomplete conversions from printf to isp_prt.
2000-12-31 20:50:56 +00:00
mjacob
455cbaec15
Oops, I'm such an idiot. For reasons I don't really agree with,
...
all devices are by default known by their 'cooked' name, so
my change was wrong. I thought it was a hangover from old 'block
tape device' support which hasn't worked (if it ever did) since
v6/PWB.
So, the default tape name is now the same as Linux. Far out, man....
2000-12-31 20:29:56 +00:00
phk
0ae4f0870d
This is the first snapshot of the new all-singing-and-dancing md(4).
...
Using the mdconfig(8) program you can now configure memory disks
on malloc(9), swap or a file/vnode. preloaded md disks also work
as usual.
2000-12-31 13:03:42 +00:00
phk
5de479435a
Use macro API to <sys/queue.h>
2000-12-31 10:24:19 +00:00
phk
bd55e14c59
Add compress option at the instigation of rgrimes.
2000-12-31 10:22:52 +00:00
mjacob
072d9a6f78
Unbelievable how this slipped through. There is
...
no such device as /dev/nsa0. The DEFTAPE should
"/dev/nrsa0". *Groan*.
2000-12-31 08:17:19 +00:00
tanimura
48f3847902
Ignore a net interrupt if the corresponding handler is not
...
registered.
This fixes panic on my laptop where a spurious arp packet
is received when arp is not ready to run.
2000-12-31 01:31:55 +00:00
ps
653b0a4d6a
Backout rev 1.57 & 1.58. While the previous revisions fixed
...
attaching to running processes, it completely breaks normal debugging.
A better fix is in the works, but cannot be properly tested until
the problem with gdb hanging the system in -current is solved.
2000-12-31 01:30:27 +00:00
dillon
41fd6873a8
Fix a lockup problem that occurs with 'cvs update'. specfs's fsync can
...
get into the same sort of infinite loop that ffs's fsync used to get
into, probably due to background bitmap writes. The solution is
the same.
2000-12-30 23:32:24 +00:00
phk
72cd3208b3
Use macro API for <sys/queue.h>
2000-12-30 22:06:19 +00:00
phk
f13a78af64
Use <sys/queue.h> macro API.
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 20:40:16 +00:00
mjacob
5901dfe396
Change the modification of what could be a const string. Apparently the
...
construct:
char *foo;
...
foo = "XXX";
...
foo[1] = 'Y';
is wrong. IT blew up on NetBSD-sparc64 because that platform write-protects
constant strings.
2000-12-30 20:09:26 +00:00
dfr
c0346114b4
Don't include <stddef.h> for offsetof() - its also defined in <sys/types.h>
2000-12-30 13:07:58 +00:00
dfr
78040d3f19
Merge ALIGN changes from alpha code.
2000-12-30 13:06:01 +00:00
dfr
83798d65dc
Fix typo.
2000-12-30 13:04:20 +00:00
ps
250c89d360
Pass me the pointy hat. Do not hold sched_lock over psignal.
...
Submitted by: alfred
2000-12-30 00:44:44 +00:00
mjacob
10e300a6dd
Add in Bill Sommerfeld's -Wformat stuff. Add a ISP_CFG_NOINIT option
...
to keep from completing initialization when isp_init is called.
2000-12-29 19:17:18 +00:00
mjacob
a2ee3f2b32
Add in Bill Sommerfelds -Wformat changes. Set up default node && port
...
WWNs correctly (Again!) - this time for the case that we're not going
to fully init the adapter if isp_init is called (with ISP_CFG_NOINIT
set in options). The pupose for this is to bring the adapter up to
almost ready to go, get info out of NVRAM, but to not start it up- leaving
it until later to actually start things up if wanted (and possibly with
different roles selected).
2000-12-29 19:12:44 +00:00
mjacob
affd82f08f
Set up to do a local interrupt fielding before calling common code-
...
allows us to grab lock as we should.
2000-12-29 19:10:16 +00:00
mjacob
e2e4fb07d4
Make sure we do locking if we call isp_intr.
...
Make sure we enter Giant for now if we call into cam for completion.
2000-12-29 19:06:32 +00:00
takawata
829d1eb6e8
Remove the old acpi stuff entry.
...
Submitted by:kurinyma
2000-12-29 15:39:45 +00:00
alfred
f6aeda2758
fix comment which was outdated 3 years ago
...
remove useless assignment
purge entire file of 'register' keyword
2000-12-29 13:49:05 +00:00
alfred
7ab79347db
clean up kmem_suballoc():
...
remove useless assignment
remove 'register' variables
2000-12-29 13:05:22 +00:00
paul
57ea0a2a3d
The pci and isa drivers were meant to share the same devclass but
...
the devclass definitions were all wrong so they had their own private
ones with the same name.
Fix it so they all use the same global devclass.
2000-12-29 11:59:41 +00:00
paul
0915b9d6ec
Change the module name from lnc to if_lnc so that ifconfig works.
2000-12-29 11:46:17 +00:00
paul
6f934c501c
Set a lower probe return value for PCI cards so that the pcn driver wins.
2000-12-29 11:41:18 +00:00
phk
db19e4509b
CIRCLEQs are a disgrace to everything Knuth taught us in Volume 1 Chapter 2.
...
Retire them before anybody starts to use them again.
Use TAILQ instead, it provides the same functionality.
2000-12-29 09:55:40 +00:00
msmith
d14aefe66b
Hack in interrupt routing support (using the core $PIR support, not using
...
ACPICA properly). This makes it possible to use ACPICA in conjunction with
CardBus before I get around to implementing ACPI/PCI interrupt routing.
2000-12-29 09:42:05 +00:00
grog
4de9e65520
Partially revert revision 1.7: Only use getnanotime instead of
...
nanotime if we would run into trouble with nanotime (i.e. if we are
tracing KTR_LOCK).
Reviewed by: jhb
2000-12-29 06:27:39 +00:00
paul
8cccb2b798
Fix a legacy issue. The offset for reading the MAC address is 0 using
...
bus space, not iosize which is what it was when using inb().
2000-12-29 04:41:52 +00:00
paul
b9b553e10e
Map FreeBSD character device hard disks to Linux block device hard disks.
...
This fixes the problem with VMWARE not being able to use raw disks.
2000-12-29 00:44:42 +00:00
mjacob
8721381942
add a couple off offset defines for ATIO2s
2000-12-28 23:27:54 +00:00
mjacob
1446d64529
roll to 2.01.26 level
2000-12-28 23:23:28 +00:00
mjacob
72c32b6aee
remove MAINTAINER file
2000-12-28 23:23:11 +00:00
phk
3dd47cb3d7
This is repo-copied from vnioctl.h
2000-12-28 20:59:55 +00:00
obrien
99909223fe
Move all VCS ids to a consistent location.
2000-12-28 18:21:32 +00:00
obrien
3bc5b00850
Add multiple inclusion protection.
...
PR: 23902
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
2000-12-28 18:18:23 +00:00
des
cff7c7e718
Retire kernfs (kernel part).
2000-12-28 12:17:35 +00:00
ps
f497697850
Send a SIGCONT when detaching or continuing the excution of a traced
...
process. This fixes a problem when attaching to a process in gdb
and the process staying in the STOP'd state after quiting gdb.
This whole process seems a bit suspect, but this seems to work.
Reviewed by: peter
2000-12-28 08:34:21 +00:00
peter
38f70a08d1
Pull out the module path from the loader. ie: if you boot from
...
/boot/kernel.foobar/* then that had better be in the path ahead of the
others.
Submitted by: Daniel J. O'Connor <darius@dons.net.au>
PR: 23662
2000-12-28 08:14:58 +00:00
bmilekic
552eacf1e7
Small fix for bpf compat:
...
Make malloc() use M_NOWAIT istead of M_DONTWAIT and in the
bpf_compat case, define M_NOWAIT to be M_DONTWAIT.
2000-12-27 22:20:13 +00:00
ru
b09cfc8f20
Prepare for mdoc(7)NG.
2000-12-27 16:37:32 +00:00
msmith
7a963983ca
Major bugfix and minor update. This should resolve the current issues
...
with the driver locking up under load.
- Restructure so that we use a static pool of commands/FIBs, rather than
allocating them in clusters. The cluster allocation just made things
more complicated, and allowed us to waste more memory in peak load
situations.
- Make queueing macros more like my other drivers. This adds queue stats
for free. Add some debugging to take advantage of this.
- Reimplement the periodic timeout scan. Kick the interrupt handler
and the start routine every scan as well, just to be safe. Track busy
commands properly.
- Bring resource cleanup into line with resource allocation. We should
now clean up correctly after a failed probe/unload/etc.
- Try to start new commands when old ones are completed. We weren't doing
this before, which could lead to deadlock when the controller was full.
- Don't try to build a new command if we have found a deferred command.
This could cause us to lose the deferred command.
- Use diskerr() to report I/O errors.
- Don't bail if the AdapterInfo structure is the wrong size. Some variation
seems to be normal. We need to improve our handing of 2.x firmware sets.
- Improve some comments in an attempt to try to make things clearer.
- Restructure to avoid some warnings.
2000-12-27 13:14:56 +00:00
cg
798d2297a8
change irq handler slightly, get rid of superflous messages
2000-12-27 04:04:36 +00:00