David E. O'Brien
e91cf05816
Sort some of the _BSD_* types.
2001-01-01 22:26:56 +00:00
David E. O'Brien
68a2ed01fd
Update the e_machine values to include x86-64, PowerPC and [Strong]ARM;
...
and fix the Sparc values. Also update the ELFOSABI list while I'm here.
2001-01-01 21:56:57 +00:00
David E. O'Brien
a0ff0188c2
PowerPC specific ELF ABI definitions.
2001-01-01 21:54:48 +00:00
Matt Jacob
afd27fce94
Sanity check ptr for legal values so it is less likely
...
(but not impossible) to get stuck in an infinite loop.
Obtained from: msmith@freebsd.org
2001-01-01 16:49:31 +00:00
Poul-Henning Kamp
924836d50e
Add a missing vnode_if.h.
...
Submitted by: Jim Bloom <bloom@acm.org>
2001-01-01 11:28:32 +00:00
Maxim Sobolev
1ed369095d
We are now in the year 2001, so ajust copyrights.
...
Happy New Year!
2001-01-01 08:05:48 +00:00
John Baldwin
4bfba0cf19
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
John Baldwin
ef8294075b
Add in a missing release of the proctree lock.
...
Submitted by: Sja <sakari.jalovaara@eqonline.fi>
2001-01-01 02:19:51 +00:00
Matt Jacob
32f73b1c3e
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
Matt Jacob
56f29ddd1e
there is no more miscfs/devfs
2000-12-31 23:12:20 +00:00
Matt Jacob
91f1caa2d8
Fix problems with incomplete conversions from printf to isp_prt.
2000-12-31 20:50:56 +00:00
Matt Jacob
23dc42d12f
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
Poul-Henning Kamp
8f8def9e2c
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
Poul-Henning Kamp
49851cc706
Use macro API to <sys/queue.h>
2000-12-31 10:24:19 +00:00
Poul-Henning Kamp
e33941c787
Add compress option at the instigation of rgrimes.
2000-12-31 10:22:52 +00:00
Matt Jacob
dcf516de13
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
Seigo Tanimura
338c0bc664
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
Paul Saab
e9df486f0a
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
Matthew Dillon
08c0a67b2e
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
Poul-Henning Kamp
6214433089
Use macro API for <sys/queue.h>
2000-12-30 22:06:19 +00:00
Poul-Henning Kamp
0d7b8d16dc
Use <sys/queue.h> macro API.
...
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
2000-12-30 20:40:16 +00:00
Matt Jacob
56c6d0d775
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
Doug Rabson
15c2c12d0d
Don't include <stddef.h> for offsetof() - its also defined in <sys/types.h>
2000-12-30 13:07:58 +00:00
Doug Rabson
48dd241687
Merge ALIGN changes from alpha code.
2000-12-30 13:06:01 +00:00
Doug Rabson
c8cf198085
Fix typo.
2000-12-30 13:04:20 +00:00
Paul Saab
894653d6fa
Pass me the pointy hat. Do not hold sched_lock over psignal.
...
Submitted by: alfred
2000-12-30 00:44:44 +00:00
Matt Jacob
e9423e211e
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
Matt Jacob
8ead30564e
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
Matt Jacob
f09b192280
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
Matt Jacob
c40e096ed6
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
Takanori Watanabe
ccf67a960f
Remove the old acpi stuff entry.
...
Submitted by:kurinyma
2000-12-29 15:39:45 +00:00
Alfred Perlstein
030f23696c
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 Perlstein
6e4f51d1ac
clean up kmem_suballoc():
...
remove useless assignment
remove 'register' variables
2000-12-29 13:05:22 +00:00
Paul Richards
8fcbbfe4a3
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 Richards
2d1a798869
Change the module name from lnc to if_lnc so that ifconfig works.
2000-12-29 11:46:17 +00:00
Paul Richards
7716c31841
Set a lower probe return value for PCI cards so that the pcn driver wins.
2000-12-29 11:41:18 +00:00
Poul-Henning Kamp
24b85d18c5
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
Mike Smith
39a8493ac0
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
Greg Lehey
7fcd0cb31a
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 Richards
b31d9f17b1
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 Richards
7842f151ba
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
Matt Jacob
7325560821
add a couple off offset defines for ATIO2s
2000-12-28 23:27:54 +00:00
Matt Jacob
355981d7c6
roll to 2.01.26 level
2000-12-28 23:23:28 +00:00
Matt Jacob
932269b52e
remove MAINTAINER file
2000-12-28 23:23:11 +00:00
Poul-Henning Kamp
e159de56fb
This is repo-copied from vnioctl.h
2000-12-28 20:59:55 +00:00
David E. O'Brien
ca1d6e0610
Move all VCS ids to a consistent location.
2000-12-28 18:21:32 +00:00
David E. O'Brien
ebf7598b4d
Add multiple inclusion protection.
...
PR: 23902
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
2000-12-28 18:18:23 +00:00
Dag-Erling Smørgrav
dd488b6dd8
Retire kernfs (kernel part).
2000-12-28 12:17:35 +00:00
Paul Saab
6a10f299b9
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 Wemm
4058c0f013
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