summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a function pci_probe_route_table() that returns true if our PCI BIOSjhb2002-09-065-0/+59
| | | | | supports interrupt routing and if the specified PCI bus is present in the routing table.
* Export pcib_attach() as a "protected" for use in subclasses of the PCI-PCIjhb2002-09-062-2/+2
| | | | bridge driver.
* Include <netinet/ip.h> to unbreak kdump. I don't know why does kdumpsobomax2002-09-061-0/+4
| | | | | | | | includes if_gre.h at all, but it does, without including ip.h before that. Poked by: peter Pointy hat to: kdump(1)
* Don't include "bpf.h" when compiling on FreeBSD. We always compile inbrooks2002-09-061-0/+4
| | | | bpf support these days.
* Bandaid for mount_nfs segfaulting with the more obscure mount optionspeter2002-09-061-22/+34
| | | | | | | | | | | | 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.
* Fix a bug where calling MD5File(3) with a zero-length file generated anbmah2002-09-061-0/+1
| | | | | | error, due to an uninitialized variable. Reviewed by: phk, archie
* Dump the $PIR table if booting verbose.jhb2002-09-063-0/+9
|
* Include some verbage about not calling exit() from functions registeredwollman2002-09-062-2/+24
| | | | by atexit().
* Remove STRNCAT (==>strncat) usage. Apparently I never read the manmjacob2002-09-063-20/+17
| | | | | | page correctly and it wasn't doing what I thought it was. Noticed by: Brooks Davis <brooks@one-eyed-alien.net>
* Tsk. Now that we're not using our own locks, we have to remembermjacob2002-09-061-0/+2
| | | | | 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...)
* Add 'camcontrol load' as a complement to 'camcontrol eject'.mdodd2002-09-062-1/+11
| | | | | Approved by: ken MFC after: 4 weeks
* Reduce namespace pollution by staticizing everything, which doesn't need tosobomax2002-09-063-21/+19
| | | | be visible from outside of the module.
* Add an entry for corega WL PCCL-11.iwasaki2002-09-061-0/+6
| | | | | | | PR: conf/42481 Submitted by: NINOMIYA Hideyuki <nin@jp.FreeBSD.org> Approved by: imp MFC after: 1 week
* Make it clear that the ":C" variable modifier expects an extendedarchie2002-09-061-2/+2
| | | | | | | regular expression instead of an obsolete regular expression. Also, cross-reference re_format(7) instead of regex(3). MFC after: 3 days
* Connect if_gre module to the build.sobomax2002-09-061-0/+1
|
* Add if_gre module glue.sobomax2002-09-061-0/+22
|
* Connect gre(4) to the build.sobomax2002-09-061-0/+1
|
* Add a new gre(4) driver, which could be used to create GRE (RFC1701)sobomax2002-09-068-0/+1644
| | | | | | and MOBILE (RFC2004) IP tunnels. Obrained from: NetBSD
* - Add a pci_cfgintr_valid() function to see if a given IRQ is a validjhb2002-09-067-7/+105
| | | | | | | | | | | | 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.
* Add more ethernet types and move AppleTalk types into proper location.sobomax2002-09-062-15/+259
| | | | Obtained from: NetBSD (syssrc/sys/net/ethertypes.h, rev.1.13)
* If we are using APIC_IO tell ACPI so it can route interrupts properly.jhb2002-09-062-0/+6
| | | | | This still doesn't work quite right because of other APIC_IO hacks in the i386 PCI code.
* Attach ACPI children a bit later in attach(), specifically after performingjhb2002-09-061-2/+3
| | | | | | 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.
* Make these less broken.sobomax2002-09-062-10/+10
|
* Add support for Corega FEther CB-TXD (CardBus 100M/10M).iwasaki2002-09-062-1/+13
|
* Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation ongordon2002-09-0641-59/+59
| | | | OS-dependent case switches.
* Add a support for a ${OSTYPE} which is set once in /etc/rc.subr. Also convertgordon2002-09-061-3/+4
| | | | | | 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.
* Add support for printing out the contents of a PCI BIOS $PIR interruptjhb2002-09-063-6/+162
| | | | | routing table on the console. Eventually it will be printed during verbose boots.
* Prefer the physical bus number of the PCI bus as the unit of the pciXjhb2002-09-063-3/+3
| | | | device created.
* Add a helper routine acpi_SetIntrModel() to call the _PIC method to setjhb2002-09-062-0/+24
| | | | | the interrupt model in use so that ACPI can properly route interrupts for machines using APIC's or SAPIC's.
* Minor spelling tweak: assume "his" is actually "This".rwatson2002-09-061-1/+1
|
* Removed vestiges of the -a and -d options.bde2002-09-061-5/+3
| | | | Fixed other bugs in the usage message so that it matches the man page.
* Style: One space between "restrict" qualifier and "*".tjr2002-09-0666-121/+121
|
* Expand a contraction in the text of style(9) for consistency.robert2002-09-061-1/+1
| | | | | Do not touch contractions in comments of code examples because their usage seems to be justified by space contraints.
* Remove magicspace from reference data.phk2002-09-068-282/+0
| | | | Sponsored by: DARPA & NAI Labs.
* Remove "magicspace". It looks good on paper, it doesn't work in practice.phk2002-09-066-113/+2
| | | | Sponsored by: DARPA & NAI Labs.
* expat2 changed the name of their include file to expat.hphk2002-09-062-2/+2
| | | | Sponsored by: DARPA & NAI Labs.
* Fix an indentation typo.phk2002-09-061-1/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Add a zeroed out sector one for the GPT hack and test T003.phk2002-09-061-0/+21
| | | | Sponsored by: DARPA & NAI Labs.
* Remove the -a maxcontig option, the kernel doesn't inspect fs_maxcontigphk2002-09-062-27/+3
| | | | | | anymore. Sponsored by: DARPA & NAI Labs.
* Don't respect the O_EXCL flag, we don't get it back on close so we cannotphk2002-09-061-0/+8
| | | | | | | correctly track it. Spotted by: peter Sponsored by: DARPA & NAI Labs.
* Bump the -mev56 to -mev6. Otherwise, when you compile with gcc usingpeter2002-09-062-4/+4
| | | | | | | ev6 or pca56 etc this downgrades the cpu specification passed to gas. As a result, gas will fail when gcc generates media instructions (in uipc_usrreq.c). This only affects what gas will accept, not what gcc generates or what our *.s file contain.
* Use UMA as a complex object allocator.julian2002-09-067-150/+143
| | | | | | | | | | | | | | | The process allocator now caches and hands out complete process structures *including substructures* . i.e. it get's the process structure with the first thread (and soon KSE) already allocated and attached, all in one hit. For the average non threaded program (non KSE that is) the allocated thread and its stack remain attached to the process, even when the process is unused and in the process cache. This saves having to allocate and attach it later, effectively bringing us (hopefully) close to the efficiency of pre-KSE systems where these were a single structure. Reviewed by: davidxu@freebsd.org, peter@freebsd.org
* Use sys/libkern.h not /usr/include/string.hpeter2002-09-062-2/+2
|
* nfsnode.h was moved to ../nfsclient ages ago. I forgot to remove it here.peter2002-09-061-210/+0
|
* o Fix namespace scope issues in <ctype.h> by using the relatively newmike2002-09-064-44/+72
| | | | | | | | | | | | visibility primitives. o Implement _tolower() and _toupper() POSIX.1-2001 (XSI) macros in <ctype.h>. o Reduce pollution in <runetype.h> by removing typedefs and using implementation namespaced types. o Add a typedef in <rune.h> to compensate for <runetype.h> losing its typedefs. Reviewed by: bde
* rev 1.6 claimed to add 'bootparams', but in fact added 'bootparamd' whichpeter2002-09-061-1/+1
| | | | does not exist.
* Remove extra ';'davidxu2002-09-061-1/+1
|
* Updated release notes: ACPIA CA 20020815, Binutils 2.12.1bmah2002-09-052-12/+12
| | | | | | (fix snapshot date), XFree86 4.2.1. MFCs noted: linux_base 7.1.
* Only try to initialize syscons if /dev/ttyv0 exists and it's not a pcvt.fenner2002-09-051-140/+156
|
* Only try to run /usr/sbin/ispcvt if it exists and is executable.fenner2002-09-051-1/+9
|
OpenPOWER on IntegriCloud