summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* o remove extraneous include of <net/pfil.h>sam2003-09-241-2/+1
| | | | | | o guard wrapper code against user-mode compilation Sponsored by: FreeBSD Foundation
* Add VidzMedia MonsterTV (MPEG video/TV capture box).jb2003-09-243-2/+22
|
* _MACHINE/_MACHINE_ARCH shouldn't be quoted. Found by trying togrehan2003-09-241-2/+2
| | | | compile the isp driver.
* By not setting No_CRC in the Mode Control Register, we must alsops2003-09-231-1/+1
| | | | | | reduce the size of the packet by 4 bytes to remove the ethernet crc. Submitted by: jdp
* Adjust the kmapentzone limit so that it takes into account the size ofsilby2003-09-231-1/+3
| | | | | | | maxproc and maxfiles, as procs, pipes, and other structures cause allocations from kmapentzone. Submitted by: tegge
* update to reflect PFIL_HOOKS api changessam2003-09-232-7/+32
| | | | Supported by: FreeBSD Foundation
* o update PFIL_HOOKS support to current API used by netbsdsam2003-09-2314-234/+425
| | | | | | | | | | | o revamp IPv4+IPv6+bridge usage to match API changes o remove pfil_head instances from protosw entries (no longer used) o add locking o bump FreeBSD version for 3rd party modules Heavy lifting by: "Max Laier" <max@love2party.net> Supported by: FreeBSD Foundation Obtained from: NetBSD (bits of pfil.h and pfil.c)
* Fix a bug in arplookup(), whereby a hostile party on a locallybms2003-09-231-6/+14
| | | | | | | | attached network could exhaust kernel memory, and cause a system panic, by sending a flood of spoofed ARP requests. Approved by: jake (mentor) Reported by: Apple Product Security <product-security@apple.com>
* Avoid NULL pointer dereferencing in modlist_lookup2().fjoe2003-09-231-1/+1
| | | | | PR: 56570 Submitted by: Thomas Wintergerst <Thomas.Wintergerst@nord-com.net>
* Don't return to search another ports even if bus_space_map() fails.nyan2003-09-235-6/+6
|
* Initialize iobase, bsh and bst.nyan2003-09-231-0/+4
|
* Compare base address instead of bus_handle.nyan2003-09-231-1/+1
|
* - Keep the base address in struct uart_bas for sab82532 and z8530 modules.nyan2003-09-2311-51/+17
| | | | - Remove buggy uart_cpu_busaddr() function.
* Remove unneeded includes.nyan2003-09-231-5/+0
|
* Use bus_space_map() to initialize a bus_handle.nyan2003-09-235-9/+17
|
* Implement the bus_space_map() function to allocate resources and initializenyan2003-09-238-13/+102
| | | | a bus_handle, but currently it does only initializing a bus_handle.
* Be more careful in dumpconf: softc may be NULL for departing devices.phk2003-09-231-3/+6
| | | | Allow drivers to initialize the d_devstat if they want magic params.
* Grrr...add the Skinny alias code forgotten in the last commit.marcus2003-09-231-0/+338
|
* Add Cisco Skinny Station protocol support to libalias, natd, and ppp.marcus2003-09-236-1/+30
| | | | | | | | | | | | | | | Skinny is the protocol used by Cisco IP phones to talk to Cisco Call Managers. With this code, one can use a Cisco IP phone behind a FreeBSD NAT gateway. Currently, having the Call Manager behind the NAT gateway is not supported. More information on enabling Skinny support in libalias, natd, and ppp can be found in those applications' manpages. PR: 55843 Reviewed by: ru Approved by: ru MFC after: 30 days
* Change the handling of the kernel and kmem objects in vm_map_delete(): Inalc2003-09-231-23/+18
| | | | | | | order to use "unmanaged" pages in the kmem object, vm_map_delete() must unconditionally perform pmap_remove(). Otherwise, sparc64 has problems. Tested by: jake
* Oops. back out last commit. The data and stack limits are used by thepeter2003-09-231-2/+2
| | | | | | | | 32 bit binary stuff. 32 bit binaries do not like it much when the kernel tries hard to put things above the 8GB mark. I have a work-in-progress to fix this properly, but I didn't want to burn anybody with this yet.
* Fix patch transcription typo. s/IDT_BPT/IDT_BP/peter2003-09-231-1/+1
|
* From the Broadcom Eratta:ps2003-09-231-2/+1
| | | | | Setting the No_CRC bit Can Cause Data Write Errors on BCM5701/03/04 The resolution is to not set the No_CRC bit in the Mode Control Register.
* Sync with i386 version. The quality initialization was missing and somepeter2003-09-232-5/+2
| | | | other junk.
* add lockingsam2003-09-232-65/+104
| | | | | Reviewed by: Prafulla Deuskar <pdeuskar@FreeBSD.ORG> Sponsored by: FreeBSD Foundation
* GC unused child variablepeter2003-09-231-2/+1
|
* MFi386 pci_bus.c 1.102 legacyvar.h 1.4: rename nexus_pcib to legacy_pcibpeter2003-09-232-51/+64
| | | | | However, leave legacy_pcib_route_interrupt() since there is no pcibios to call.
* Move basemem variable into global scope so that the MP startup code canpeter2003-09-222-1/+4
| | | | refer to it for looking for tables.
* While cleaning out my tree, fix another strict alias warning that wouldpeter2003-09-221-1/+1
| | | | be happening if we didn't stop compiling with -fno-strict-aliasing.
* Increase the default data size limit from 512MB to 8GB. Increase defaultpeter2003-09-221-2/+2
| | | | stack limit from 64MB to 512MB.
* MFi386 rev 1.51 by scottl: make dflt_lock() always panic.peter2003-09-221-4/+0
|
* MFi386 rev 1.53 by scottl: Allocate the S/G list in the tag, not onpeter2003-09-221-27/+32
| | | | the stack. This means that s/g lists can be arbitrarily long.
* MFi386 machdep.c rev 1.201, clock.c 1.201, clock.h 1.45 by phk: Dontpeter2003-09-223-0/+10
| | | | | | | | | | | initialize a TSC timecounter until we know if it is broke or not. XXX I think there is a bug in the i386 code here. init_TSC_tc() comes after: if (statclock_disable) return; ie: if you turn off the statclock interrupt, you dont get the TSC either.
* MFi386 rev 1.105 by jhb: fix comment typopeter2003-09-221-1/+1
|
* MFi386 rev 1.256 by jhb: remove redundant #include <sys/sysctl.h>peter2003-09-221-2/+0
|
* MFi386 rev 1.25 by jhb: add new MSR's and some missing older ones andpeter2003-09-221-3/+25
| | | | APICBASE MSR constants.
* MFi386 rev 1.55 by sam: remove unused #define BUS_DMAMAP_NSEGSpeter2003-09-221-2/+0
|
* MFi386 rev 1.37: constant-friendly bswap macrospeter2003-09-221-4/+70
|
* MFi386: pci_cfgreg.h rev 1.10 by jhb/des/njl. Fix CONF1_ENABLE_MSK.peter2003-09-221-1/+1
|
* MFCi386: trap.c rev 1.257 by bde. Don't forget to reenable interruptspeter2003-09-221-0/+1
| | | | | | | | for breakpoint and trace traps from usermode. Although all the setidt entries are interrupt gates on amd64, all but the trace and bpt trap entry handlers reenable interrupts after the swapgs instruction in order to simulate the trap/interrupt gate distinction. In other words, the amd64 code behaves the same way that i386 does here.
* MFi386 by jhb: add acpi_SetDefaultIntrModel();peter2003-09-222-0/+14
|
* MFi386 by jhb: use symbolic constants for the IDT entries.peter2003-09-223-22/+45
|
* MFi386: machdep.c:1.570 clock.c:1.204 by bde: Quick fix for calling DELAYpeter2003-09-222-3/+19
| | | | | | for ddb input in some atkbd-based console drivers. ddb must not use any normal locks but DELAY() normally calls getit() which needs clock_lock. This also removes the need for recursion on clock_lock.
* Microoptimization to allow the compiler to evaluate ntohl() etc onpeter2003-09-221-4/+49
| | | | | | | | | | | | known constants at compile time rather than at run time. We have a number of nasty hacks around the place to cache ntohl() of constants (eg: nfs). This change allows the compiler to compile-time evaluate ntohl(1) as 0x01000000 rather than having to emit assembler code to do it. This has other smaller flow-on effects because the compiler can see that ntohl(constant) itself has a constant value now and can propagate the compile time evaluation. Obtained from: Ideas from NetBSD and Linux, and some code from NetBSD
* Simplify the KOBJOPLOOKUP macro for the non-debug case so that gcc'speter2003-09-221-7/+13
| | | | heuristics do not overestimate the code size quite so much.
* Fix inverted BURN_BRIDGES and GONE_IN_5 #ifdefs.tmm2003-09-222-6/+6
|
* Previous commit contained too-smart-for-its-own-good code that mightdes2003-09-221-8/+9
| | | | produce incorrect (though harmless) output on single-CPU systems.
* Fake multi-cpu statistics for proc/stat by dividing the totals by thedes2003-09-221-5/+18
| | | | | | number of CPUs. PR: kern/27522
* Soften assert in pmap_remove_all.grehan2003-09-223-12/+75
| | | | | | Introduct pmap_extract_and_hold. Stolen from: sparc64
* ATAng requires <sys/taskqueue.h>grehan2003-09-222-0/+2
|
OpenPOWER on IntegriCloud