Maxim Sobolev
885564890b
Add #include <netinet/ip.h> in attempt to fix the world.
2002-09-07 06:16:22 +00:00
Chad David
78ae381517
Note that siginit() does not cause every signal to be ignored only the
...
ones with a default property of SA_IGNORE, and that it acquires and
releases the processes lock.
2002-09-07 06:07:55 +00:00
Peter Wemm
7646aefc21
Supposedly linux has added a 6th syscall arg register (%ebp). I am not
...
100% sure if this is enough, but it will not harm anything.
2002-09-07 04:59:49 +00:00
Tim J. Robbins
85adcfc150
Sync prototypes with <wchar.h> with respect to the restrict qualifier.
2002-09-07 04:07:00 +00:00
Tim J. Robbins
9c261371ec
Add restrict qualifiers where C99 permits them. All of these already had
...
restrict qualifiers on their prototypes in <wchar.h>.
2002-09-07 04:03:28 +00:00
Tim J. Robbins
c58bfeb53b
Add restrict qualifiers to wcsstr()'s arguments.
2002-09-07 03:38:13 +00:00
Tim J. Robbins
91bd11ad84
Call strtok_r() via a libc private name from within strtok().
2002-09-07 02:53:19 +00:00
Peter Wemm
6bf46c4c5f
Add options COMPAT_AOUT to detect future bitrot.
2002-09-07 01:49:52 +00:00
Julian Elischer
9b0e281b69
fix misplaced schedlock
...
Submitted by: davidxu@freebsd.org
2002-09-07 01:48:53 +00:00
Peter Wemm
581968abc2
Add COMPAT_AOUT option so that config will not yell when you try and
...
compile it statically.
2002-09-07 01:43:58 +00:00
Peter Wemm
7edc064038
Add the aout module subdir for the i386.
2002-09-07 01:31:38 +00:00
Peter Wemm
5e9e7db454
Add an a.out exec module.
2002-09-07 01:31:21 +00:00
Peter Wemm
21ae145105
Make imgact_aout.c optional. It is i386 specific.
2002-09-07 01:30:36 +00:00
Peter Wemm
a9148ab103
Give this a self contained a.out coredump routine.
...
XXX freebsd-aout coredumps for a linux-aout binary is a bit pointless.
2002-09-07 01:29:21 +00:00
Peter Wemm
1a50106e30
Zap the implementations of the i386-aout specific cpu_coredump function.
...
Most of the non-i386 platforms had rather broken implementations anyway.
2002-09-07 01:26:34 +00:00
Kris Kennaway
0dafadb731
Add support for ev67 and ev45 CPUTYPEs (new in gcc3)
2002-09-07 01:26:11 +00:00
Peter Wemm
710ded3ac5
Collect the a.out coredump code into the calling functions.
...
XXX why does pecoff dump in a.out format?
2002-09-07 01:23:51 +00:00
Maxime Henrion
af1ed8d074
List the new athlon CPUs supported by the CPUTYPE make variable.
...
Submitted by: kris
2002-09-07 01:19:15 +00:00
Maxime Henrion
8e4b67a2a3
Update to use all the new CPU optimizations of GCC3.
...
Reviewed by: kris
2002-09-07 01:15:29 +00:00
John Baldwin
7bbb0b56e4
Add a subclass of the PCI-PCI bridge driver that uses the PCIBIOS to
...
route interrupts if the child bus is described in the PCIBIOS interrupt
routing table. For child busses that are in the routing table, they do
not necessarily use a 'swizzle' on their pins on the parent bus to route
interrupts for child devices. If the child bus is an embedded device then
the pins on the child devices can be (and usually are) directly connected
either to a PIC or to a Interrupt Router. This fixes PCIBIOS interrupt
routing across PCI-PCI bridges for embedded devices.
2002-09-06 22:19:39 +00:00
John Baldwin
c3ba1376f5
Add a function pci_probe_route_table() that returns true if our PCI BIOS
...
supports interrupt routing and if the specified PCI bus is present in the
routing table.
2002-09-06 22:15:44 +00:00
John Baldwin
38906aed9a
Export pcib_attach() as a "protected" for use in subclasses of the PCI-PCI
...
bridge driver.
2002-09-06 22:14:00 +00:00
Maxim Sobolev
af7027033d
Include <netinet/ip.h> to unbreak kdump. I don't know why does kdump
...
includes if_gre.h at all, but it does, without including ip.h before
that.
Poked by: peter
Pointy hat to: kdump(1)
2002-09-06 21:58:57 +00:00
Brooks Davis
6f9fe1334f
Don't include "bpf.h" when compiling on FreeBSD. We always compile in
...
bpf support these days.
2002-09-06 20:07:50 +00:00
Peter Wemm
4db5660477
Bandaid for mount_nfs segfaulting with the more obscure mount options
...
in /etc/fstab. This isn't a real fix though and I'm still not sure
why it started failing. mount(8) breaks up the nfs args into seperate
repeated '-o option=value' arguments. But, the altflags variable that
we use to track things is incrementally built up each time we see the
next option and shows us the cumulative set of flags, not just the
flag that we are currently looking at. As a result, the strstr hack
for looking up flags in a giant -o opt=val,opt=val, etc string was failing
and causing a segfault. I do not know what changed recently that caused
this to suddenly break, but the code has been rather bogus for some time.
2002-09-06 19:59:29 +00:00
Bruce A. Mah
2ca720053b
Fix a bug where calling MD5File(3) with a zero-length file generated an
...
error, due to an uninitialized variable.
Reviewed by: phk, archie
2002-09-06 19:51:58 +00:00
John Baldwin
facfd6e8ed
Dump the $PIR table if booting verbose.
2002-09-06 19:25:25 +00:00
Garrett Wollman
2c5db8c62d
Include some verbage about not calling exit() from functions registered
...
by atexit().
2002-09-06 19:23:28 +00:00
Matt Jacob
99b57e408b
Remove STRNCAT (==>strncat) usage. Apparently I never read the man
...
page correctly and it wasn't doing what I thought it was.
Noticed by: Brooks Davis <brooks@one-eyed-alien.net>
2002-09-06 18:32:16 +00:00
Matt Jacob
ee76282ef5
Tsk. Now that we're not using our own locks, we have to remember
...
to grab Giant in isp_kthread so that msleep is *happy* that there's
no lock being passed to it (as tsleep turns out to be...)
2002-09-06 18:20:59 +00:00
Matthew N. Dodd
f9cecca2d4
Add 'camcontrol load' as a complement to 'camcontrol eject'.
...
Approved by: ken
MFC after: 4 weeks
2002-09-06 18:16:26 +00:00
Maxim Sobolev
c23d234cce
Reduce namespace pollution by staticizing everything, which doesn't need to
...
be visible from outside of the module.
2002-09-06 18:16:03 +00:00
Mitsuru IWASAKI
5ea0b02d5a
Add an entry for corega WL PCCL-11.
...
PR: conf/42481
Submitted by: NINOMIYA Hideyuki <nin@jp.FreeBSD.org>
Approved by: imp
MFC after: 1 week
2002-09-06 17:45:36 +00:00
Archie Cobbs
1b69f09c39
Make it clear that the ":C" variable modifier expects an extended
...
regular expression instead of an obsolete regular expression.
Also, cross-reference re_format(7) instead of regex(3).
MFC after: 3 days
2002-09-06 17:33:11 +00:00
Maxim Sobolev
b5e8c7d783
Connect if_gre module to the build.
2002-09-06 17:18:53 +00:00
Maxim Sobolev
856af10e6a
Add if_gre module glue.
2002-09-06 17:17:33 +00:00
Maxim Sobolev
5176efdd47
Connect gre(4) to the build.
2002-09-06 17:17:22 +00:00
Maxim Sobolev
8e96e13e6a
Add a new gre(4) driver, which could be used to create GRE (RFC1701)
...
and MOBILE (RFC2004) IP tunnels.
Obrained from: NetBSD
2002-09-06 17:12:50 +00:00
John Baldwin
8ab96fd8d0
- Add a pci_cfgintr_valid() function to see if a given IRQ is a valid
...
IRQ for an entry in a PCIBIOS interrupt routing ($PIR) table.
- Change pci_cfgintr() to except the current IRQ of a device as a fourth
argument and to use that IRQ for the device if it is valid.
- If an intpin entry in a $PIR entry has a link of 0, it means that that
intpin isn't connected to anything that can trigger an interrupt. Thus,
test the link against 0 to find invalid entries in the table instead of
implicitly relying on the irqs field to be zero. In the machines I have
looked at, intpin entries with a link of 0 often have the bits for all
possible interrupts for PCI devices set.
2002-09-06 17:08:07 +00:00
Maxim Sobolev
d04c7d51be
Add more ethernet types and move AppleTalk types into proper location.
...
Obtained from: NetBSD (syssrc/sys/net/ethertypes.h, rev.1.13)
2002-09-06 17:02:29 +00:00
John Baldwin
d3b9beba04
If we are using APIC_IO tell ACPI so it can route interrupts properly.
...
This still doesn't work quite right because of other APIC_IO hacks in
the i386 PCI code.
2002-09-06 17:02:01 +00:00
John Baldwin
eeb6dba253
Attach ACPI children a bit later in attach(), specifically after performing
...
any machine dependent initialization. This allows the MD code to set the
interrupt routing model so that PCI interrupts are routed correctly when
using an APIC or SAPIC for example.
2002-09-06 17:01:06 +00:00
Maxim Sobolev
e703b0e13e
Make these less broken.
2002-09-06 16:58:13 +00:00
Mitsuru IWASAKI
efd1491c3f
Add support for Corega FEther CB-TXD (CardBus 100M/10M).
2002-09-06 16:38:06 +00:00
Gordon Tetlow
77e55efba0
Convert from ${CMD_OSTYPE}
to ${OSTYPE}. This saves a shell invocation on
...
OS-dependent case switches.
2002-09-06 16:18:05 +00:00
Gordon Tetlow
550f8fc46b
Add a support for a ${OSTYPE} which is set once in /etc/rc.subr. Also convert
...
all instances of `${CMD_OSTYPE}` to just using ${OSTYPE}. This saves us a
shell invocation on anything that is OS-dependent. I seriously doubt that we
will be spontaneously changing OS types during bootup.
2002-09-06 16:15:29 +00:00
John Baldwin
fbabd7bec2
Add support for printing out the contents of a PCI BIOS $PIR interrupt
...
routing table on the console. Eventually it will be printed during
verbose boots.
2002-09-06 16:10:12 +00:00
John Baldwin
cea0a89545
Prefer the physical bus number of the PCI bus as the unit of the pciX
...
device created.
2002-09-06 16:09:07 +00:00
John Baldwin
da14ac9fce
Add a helper routine acpi_SetIntrModel() to call the _PIC method to set
...
the interrupt model in use so that ACPI can properly route interrupts for
machines using APIC's or SAPIC's.
2002-09-06 16:08:08 +00:00
Robert Watson
6f22742b25
Minor spelling tweak: assume "his" is actually "This".
2002-09-06 13:22:44 +00:00