peter
0226701a8a
Add the aout module subdir for the i386.
2002-09-07 01:31:38 +00:00
peter
037a035b18
Add an a.out exec module.
2002-09-07 01:31:21 +00:00
peter
b4b1ef332e
Make imgact_aout.c optional. It is i386 specific.
2002-09-07 01:30:36 +00:00
peter
ba1db69f48
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
e3b1e6d8fa
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
4c22235af2
Add support for ev67 and ev45 CPUTYPEs (new in gcc3)
2002-09-07 01:26:11 +00:00
peter
9688aed888
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
mux
07cbf97f9f
List the new athlon CPUs supported by the CPUTYPE make variable.
...
Submitted by: kris
2002-09-07 01:19:15 +00:00
mux
7387c7151c
Update to use all the new CPU optimizations of GCC3.
...
Reviewed by: kris
2002-09-07 01:15:29 +00:00
jhb
68e5e76ced
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
jhb
891a98175a
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
jhb
6e666d91a9
Export pcib_attach() as a "protected" for use in subclasses of the PCI-PCI
...
bridge driver.
2002-09-06 22:14:00 +00:00
sobomax
40bf2edf8b
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
1da1f5abfe
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
1ec96b6cd8
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
bmah
5419354c9f
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
jhb
c10ceae56a
Dump the $PIR table if booting verbose.
2002-09-06 19:25:25 +00:00
wollman
7c1e59f51d
Include some verbage about not calling exit() from functions registered
...
by atexit().
2002-09-06 19:23:28 +00:00
mjacob
5f9cb58d07
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
mjacob
6ee39adbaa
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
mdodd
69903403e9
Add 'camcontrol load' as a complement to 'camcontrol eject'.
...
Approved by: ken
MFC after: 4 weeks
2002-09-06 18:16:26 +00:00
sobomax
afb7f17e96
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
iwasaki
8775a5b27a
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
8ee3bf6a2a
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
sobomax
335a6bfe1d
Connect if_gre module to the build.
2002-09-06 17:18:53 +00:00
sobomax
5e6e3c2936
Add if_gre module glue.
2002-09-06 17:17:33 +00:00
sobomax
120d8027f2
Connect gre(4) to the build.
2002-09-06 17:17:22 +00:00
sobomax
8379521a54
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
jhb
49487ffa2c
- 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
sobomax
7b3d4c8729
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
jhb
5ccfdeb4e4
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
jhb
9b8609f2b4
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
sobomax
1208a633c0
Make these less broken.
2002-09-06 16:58:13 +00:00
iwasaki
7b8af44588
Add support for Corega FEther CB-TXD (CardBus 100M/10M).
2002-09-06 16:38:06 +00:00
gordon
a7f04bb2b7
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
390d72be15
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
jhb
3796a7b1aa
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
jhb
09635017d5
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
jhb
004940f13e
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
rwatson
241e77818a
Minor spelling tweak: assume "his" is actually "This".
2002-09-06 13:22:44 +00:00
bde
6ce6aeef1a
Removed vestiges of the -a and -d options.
...
Fixed other bugs in the usage message so that it matches the man page.
2002-09-06 13:16:24 +00:00
tjr
cd5ca96599
Style: One space between "restrict" qualifier and "*".
2002-09-06 11:24:06 +00:00
robert
97acf1a793
Expand a contraction in the text of style(9) for consistency.
...
Do not touch contractions in comments of code examples because
their usage seems to be justified by space contraints.
2002-09-06 10:53:57 +00:00
phk
2f424d1fc1
Remove magicspace from reference data.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:51:55 +00:00
phk
42ca888ae8
Remove "magicspace". It looks good on paper, it doesn't work in practice.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:50:28 +00:00
phk
33a29ee495
expat2 changed the name of their include file to expat.h
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:44:15 +00:00
phk
9b338dc04e
Fix an indentation typo.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:43:15 +00:00
phk
fe296cc3f4
Add a zeroed out sector one for the GPT hack and test T003.
...
Sponsored by: DARPA & NAI Labs.
2002-09-06 08:41:48 +00:00
phk
df9821636c
Remove the -a maxcontig option, the kernel doesn't inspect fs_maxcontig
...
anymore.
Sponsored by: DARPA & NAI Labs.
2002-09-06 07:59:10 +00:00
phk
8e45a811c4
Don't respect the O_EXCL flag, we don't get it back on close so we cannot
...
correctly track it.
Spotted by: peter
Sponsored by: DARPA & NAI Labs.
2002-09-06 07:57:29 +00:00