aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Initialize the vm86 structure to a known-good state, specificallyJohn Baldwin2008-08-153-2/+14
| | | | | | | eflags. Notes: svn path=/stable/4/; revision=181767
* MFC: r179705Paul Saab2008-06-101-0/+5
| | | | | | | | Add support for the P212, P410, P410i, P411, and P812 HP Smart Array controllers. Notes: svn path=/stable/4/; revision=179712
* Add the missing support for the P800Paul Saab2008-06-101-0/+1
| | | | Notes: svn path=/stable/4/; revision=179711
* MFC: rev 1.88John Baldwin2008-05-191-6/+0
| | | | | | | | Remove a check that didn't allow > 12 byte CDB's to be issued to ciss. This should allow volumes > 2TB to work. Notes: svn path=/stable/4/; revision=179132
* MFC: Use real moder to invoke BIOS routines rather than virtual 86 mode.John Baldwin2008-03-182-478/+347
| | | | Notes: svn path=/stable/4/; revision=177359
* Bah, extra hunk slipped in.John Baldwin2008-03-051-2/+0
| | | | Notes: svn path=/stable/4/; revision=176841
* MFC: Fix a problem with XID re-use when a server returns NFSERR_JUKEBOX.John Baldwin2008-03-055-20/+37
| | | | Notes: svn path=/stable/4/; revision=176840
* MFC 1.6: Allow MAXDEP dependants, not MAXDEP-1.John Baldwin2008-01-301-1/+1
| | | | | | | PR: kern/46368 Notes: svn path=/stable/4/; revision=175828
* MFC: Relax the probe for type #1 PCI config transactions on i386.John Baldwin2007-12-061-25/+25
| | | | Notes: svn path=/stable/4/; revision=174345
* MFC: Change pci_cfgdisable() into a nop for type #1 similar to what otherJohn Baldwin2007-12-061-2/+6
| | | | | | | OSs do. Notes: svn path=/stable/4/; revision=174342
* MFC 1.209: Don't verify UDP IPv4 checksum in-place.David Malone2007-06-101-5/+6
| | | | Notes: svn path=/stable/4/; revision=170498
* Fix pointy-hat problem with BUS_DMA_ROOTARG macro that caused problems for ↵Matt Jacob2007-05-111-3/+3
| | | | | | | sparc64. Notes: svn path=/stable/4/; revision=169460
* MFC rev 1.5: Add PCI IdsScott Long2007-05-091-1/+2
| | | | Notes: svn path=/stable/4/; revision=169423
* MFC to synchronize with -current. The bugs fixed are relatively few andMatt Jacob2007-05-087-417/+410
| | | | | | | hopefully the bugs introduved are even fewer. Notes: svn path=/stable/4/; revision=169383
* MFC: Only treat logical CPUs as hyperthreads if they share the L1 cache.John Baldwin2007-04-301-2/+2
| | | | Notes: svn path=/stable/4/; revision=169137
* EOL of RELENG_4 support.Matt Jacob2007-04-0113-4207/+9396
| | | | | | | | MFC of constification, cleanups of pre-7.X compiles, additions of SYNC_REG memory barriers and so on. Notes: svn path=/stable/4/; revision=168223
* MFC xpt_print function.Matt Jacob2007-03-112-0/+12
| | | | Notes: svn path=/stable/4/; revision=167463
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2007-03-101-0/+211
| | | | Notes: svn path=/stable/4/; revision=167404
* MFC (if_bge.c 1.108, etc., less some style bugs: eliminate one PCIBruce Evans2007-02-152-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | read per call to bge_start()). In packet blasting tests using ttcp with tiny udp packets on an A64-3200 with a 64-bit 5701 on a 32-bit 33MHz PCI bus, this gives a speedup from 347 kpps to 623 kpps. sendto() has a lot of software overheads, but even with these the single PCI write per call to bge_start() almost doubled the per-packet time. This is partly because the software overheads are so large that the CPU can't keep up with a Gbps NIC that can actually get anywhere near Gbps speed for tiny packets (347 kppps for tiny packets is only about 21% of wire speed). When the CPU can't keep up, it gets further behind because it ends up calling bge_start() at least once for every packet, so any overheads in bge_start() are not amortized across multiple packets. Thus the PCI read had an especially high overhead. For larger packets, the speedup is closer to the 1.8% claimed in rev. 1.108. Rev.1.108 claims to eliminate a PCI write but actually eliminates a PCI read. The write of the tx product index is not so costly as its read, and cannot be eliminated completely. It could be coalesced in some cases. Notes: svn path=/stable/4/; revision=166746
* MF6: Sync with RELENG_6:John Baldwin2007-02-081-11/+18
| | | | | | | | | | | | - Fix probe for 5708S adapters. - Use LIST_FOREACH() in bce_ifmedia_upd(). - Compile fixes for BCE_DEBUG. - Don't reset the chip in bce_watchdog() if we are in the routine because of pause frames. - Fix multicast hash. Notes: svn path=/stable/4/; revision=166570
* MFC rev. 1.83:Markus Brueffer2007-01-211-3/+4
| | | | | | | | | | Fix a buffer overflow iff USB_DEBUG is set, hw.usb.ums.debug is > 5 and the total size of all input reports is < 6. Approved by: emax (mentor) Notes: svn path=/stable/4/; revision=166160
* MFC: Warn that the swap zone is exhausted before the machine deadlocks.John Baldwin2007-01-171-1/+4
| | | | | | | Reviewed by: alc Notes: svn path=/stable/4/; revision=166075
* The pc98 porting team's copyright year should be 2003, whenXin LI2007-01-101-1/+1
| | | | | | | | | | 5.0-RELEASE, the first release including pc98 is released. Noticed by: hrs Confirmed by: nyan Notes: svn path=/stable/4/; revision=165921
* RELENG_6 (5, 4) change to recognize 6 port NetMosMatt Jacob2006-12-161-2/+16
| | | | | | | | | PR: 58953 Submitted by: Milan Obuch Reviewed by: marcel Notes: svn path=/stable/4/; revision=165267
* Sync with RELENG_6 including updating to version 6.2.9 of the driver.John Baldwin2006-12-085-1197/+1395
| | | | Notes: svn path=/stable/4/; revision=165014
* Sync with RELENG_6 including:John Baldwin2006-12-072-327/+286
| | | | | | | | | - Use bus_dmamap_load_mbuf_sg() for tx packets and associated stability fixes. - Kick the firmware sooner so IPMI works. Notes: svn path=/stable/4/; revision=164986
* Sync with RELENG_6 including:John Baldwin2006-12-071-29/+68
| | | | | | | | | | - Add support for the 5752 and 5780 phys. - Handle 10/100 only "bge" phys correctly. - MFC some parts of 1.6 that among other things fix use of non-autoneg media with bce(4). Notes: svn path=/stable/4/; revision=164985
* Regen.John Baldwin2006-12-071-1/+5
| | | | Notes: svn path=/stable/4/; revision=164984
* Add BCM5752 and BCM5780.John Baldwin2006-12-071-0/+2
| | | | Notes: svn path=/stable/4/; revision=164983
* Reduce diffs to RELENG_6:John Baldwin2006-12-061-40/+14
| | | | | | | | | | - Use bus_dmamap_load_mbuf_sg() rather than a private simple callback in conjuction with bus_dmamap_load_mbuf(). - Use bus_alloc_resource_any(). - Remove bogus BUS_DMA_ALLOCNOW flag. Notes: svn path=/stable/4/; revision=164967
* Reduce diffs with RELENG_6:John Baldwin2006-12-061-97/+42
| | | | | | | | - Use bus_dmamap_load_mbuf_sg() for setting up rx descriptors. - Fix a few whitespace nits. Notes: svn path=/stable/4/; revision=164966
* Add an MI bus_dmamap_load_mbuf_sg() that wraps aroundJohn Baldwin2006-12-063-0/+47
| | | | | | | | | | bus_dmamap_load_mbuf() using a simple callback to make it easier to keep drivers in sync between 4.x and 6.x. Not objected to by: scottl Notes: svn path=/stable/4/; revision=164965
* Correct a signedness bug which allowed members of the operatorColin Percival2006-12-061-1/+1
| | | | | | | | | | | | | group to read kernel memory. [1] Disable handling of GNUTYPE_NAMES tar file entries by default, since they can be used to extract files outside of the cwd. [2] Security: FreeBSD-SA-06:25.kmem [1] Security: FreeBSD-SA-06:26.gtar [2] Notes: svn path=/stable/4/; revision=164943
* Assign major numbers 177 and 178 to mfi(4) rather than using two majorsJohn Baldwin2006-11-283-10/+20
| | | | | | | reserved for local devices (200 and 201). Notes: svn path=/stable/4/; revision=164724
* Document major numbers used for amr(4).John Baldwin2006-11-281-0/+2
| | | | Notes: svn path=/stable/4/; revision=164723
* MFi386: revision 1.385.2.35.Yoshihiro Takahashi2006-11-091-1/+1
| | | | Notes: svn path=/stable/4/; revision=164111
* Ignore I/O APICs that aren't really there (return 0xffffffff when you tryJohn Baldwin2006-10-251-18/+31
| | | | | | | | | to talk to them) if they aren't listed as the destination of any interrupts in the MP Table instead of panic'ing when we fail to set the APIC ID. The new APIC code in 5.x+ has a similar check. Notes: svn path=/stable/4/; revision=163688
* MFC: parts of the following, so that atomic.h in RELENG_4 can beBruce Evans2006-10-221-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | compiled by RELENG_6's compiler: 1.26: pass constraints as a parameter since chars and shorts need different ones. 1.27: fix pedantic syntax errors. 1.40: don't use the '+' constraint so much, since gcc-3.3.mumble broke it for non-register operands. 1.40 essentially backs outs 1.22, and also avoids using the "0" constraint, and also remumbers asm parameters. 1.22 had already been merged to RELENG_4 in 1.9.2.2 in order to fix compiling with -O0 with RELENG_4's compiler. This turned out to be not future-proof. I think the "0" constaint would work with gcc-3, but not using it is a better way to fix compiling with -O0 in RELENG_4. Problems in this area go back to gcc-2.early or gcc-1 when the "0" and "+" constraints didn't exist and there were no correct alternatives for them. 1.9.2.1 unnecessarily used an incorrect alternative that happened to work except for -O0. This change is essentially null when compiled by RELENG_4's compiler. For GENERIC, LINT and one other configuration, it changes no object files except atomic.o compiled with -O0; for the latter it gives different register allocation and some unused instructions. Notes: svn path=/stable/4/; revision=163605
* Remove special support for gcc <= 2.8 so that the next change is moreBruce Evans2006-10-211-42/+0
| | | | | | | | | readable. gcc-2.8 was last sighted in FreeBSD-3 and wasn't the system compiler in any version of FreeBSD-4. The next change will improve portability and might even work without ifdefs for gcc-2.8. Notes: svn path=/stable/4/; revision=163565
* Fail the probe instead of panicing if the memory address is 0. TheBruce Evans2006-10-061-0/+2
| | | | | | | | | | | | | | | | | memory address can be 0 only with certain misconfigurations. We don't try to detect misconfigurations of the kernel config file, but IIRC the panic was caused by a hardware misconfiguration like the following: - a cy PCI card physically present but with a hardware conflict - then the cy PCI probe is called first but fails due to the conflict - no cy ISA card present - the cy ISA probe is called. Normally this uses the nonzero memory address in the config file and just fails when there is no cy ISA card present, but when there is a cy PCI card present, the ISA memory resource is apparently lost. The (non-)presence of the cy ISA card probably makes no difference here. Notes: svn path=/stable/4/; revision=163053
* Fixed overflow at 2G for writing clock frequencies using sysctls.Bruce Evans2006-10-061-2/+2
| | | | | | | | | | | | | Reads worked correctly using the IU format. Writes only supported signed integers using the CTLTYPE_INT flag. sysctl(1) parses args for CTLTYPE_INT using (int)strtol() and has no range checking of course, so read-write of frequencies larger than INT_MAX always blindly corrupts the frequency to INT_MAX (2G-1). This keeps writing of TSC frequencies working up to 4GHz. Notes: svn path=/stable/4/; revision=163051
* Add REPORT_LUNS definition.Matt Jacob2006-10-051-0/+1
| | | | Notes: svn path=/stable/4/; revision=163038
* MFC the current state of mpt.Matt Jacob2006-10-057-119/+518
| | | | Notes: svn path=/stable/4/; revision=163037
* MFC (1.519: fix a syntax error (no statement after a label)) so that thisBruce Evans2006-10-031-1/+1
| | | | | | | file in RELENG_4 can be compiled by gcc in -current again. Notes: svn path=/stable/4/; revision=162989
* MFC (1.34: fix a syntax error (no statement after a label)) so that thisBruce Evans2006-10-031-0/+2
| | | | | | | file in RELENG_4 can be compiled by gcc in -current again. Notes: svn path=/stable/4/; revision=162988
* MFC (1.13: fix a syntax error (no statement after a label)) so that thisBruce Evans2006-10-031-0/+1
| | | | | | | file in RELENG_4 can be compiled by gcc in -current again. Notes: svn path=/stable/4/; revision=162987
* Fixed a syntax error (no statement after a label) so that nfs in RELENG_4Bruce Evans2006-10-031-1/+1
| | | | | | | can be compiled by the -current gcc again. Notes: svn path=/stable/4/; revision=162986
* Add a sysctl net.link.ether.bridge.hwassmask which lets administratorsBruce M Simpson2006-09-231-0/+10
| | | | | | | | | mask hardware checksums on bridge interface members. PR: kern/57100 Notes: svn path=/stable/4/; revision=162587
* Add a sysctl net.link.ether.bridge.hwassmask which lets administratorsBruce M Simpson2006-09-231-0/+1
| | | | | | | | | mask hardware checksums on bridge interface members. PR: kern/57100 Notes: svn path=/stable/4/; revision=162568
* MFC 1.163- give VMware disks min/max tags in their quirk.Matt Jacob2006-09-151-1/+1
| | | | Notes: svn path=/stable/4/; revision=162335