summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fixed sign extension bugs in previous commit. They didn't completelybde2002-02-141-4/+4
| | | | | | | | break scheduling because negative priorities were most fixed up by converting kg_pri_user back to the correct type. Fixed some style bugs in previous commit (non-terminated sentence fragments and regressions in comments).
* Rework revision 1.12, and wrap the bmaj entry with an #if doesn'tjoe2002-02-141-0/+3
| | | | | compile it in on FreeBSD-current, but does in all other cases (-stable, NetBSD, OpenBSD, etc).
* Reinstate revision 1.14. The empty uscannerioctl() was accidentlyjoe2002-02-141-6/+0
| | | | re-added during a recent NetBSD merge.
* Don't confuse a struct with its first member. This fixes:bde2002-02-132-2/+2
| | | | | ./@/i386/i386/machdep.c: In function `init386': ./@/i386/i386/machdep.c:1700: warning: assignment from incompatible pointer type
* remove superflous empty line (in preparation to MFC)fjoe2002-02-131-1/+0
|
* Re-enable WITNESS for GENERIC. Since the 5.x branch is mostly aboutalfred2002-02-132-2/+4
| | | | | | | | | | | | | | | | | | SMP we'd like as much feedback as possible from users about possible locking problems as early as possible. To negate most of the performance impact I've also enabled WITNESS_SKIPSPIN. I've done this as we've been running WITNESS over the spinlock code for a while without incident and it goes a long way to making the performance problems of WITNESS much more bearable. Users who should be running current should know about turning WITNESS off for performance reasons. That said and done, WITNESS could/should be made into a tuneable, but we'll leave that as an excersize to those that want to disable it without a kernel recompile.
* - Added support for receive in multiplepdeuskar2002-02-139-4951/+5236
| | | | | | | | | descriptors. This simplifies code for jumbo frames. - Cleaned up coding conventions to make code more unix-like. - Cleaned up code in if_em_fxhw.c and if_em_phy.c. Added relevant comments. MFC after: 1 week
* Calculate physmem before calling init_param2().tmm2002-02-132-10/+10
| | | | Submitted by: jake
* Avoid crashing in early boot when WITNESS is enabled by moving thetmm2002-02-133-4/+12
| | | | | mtx_init() for intr_table_lock after the globaldata pointer initialization.
* Add counter.c and sbus.c. Unify style.tmm2002-02-131-6/+8
|
* Add the counter-timer node to the exclusion list, as it is handledtmm2002-02-131-4/+5
| | | | specially. While being there, sort that list.
* Use stxa_sync() when accessing the LSU control register to avoid undefinedtmm2002-02-131-6/+6
| | | | behaviour.
* Use stxa_sync() when accessing the diagnostic registers to invalidatetmm2002-02-132-23/+23
| | | | | caches; this is needed to avoid undefined behaviour. Clean up a bit.
* Add support for the counter-timer which is included in the Sun U2S andtmm2002-02-132-0/+113
| | | | U2P bridges as a time counter.
* Add support for the SBus, which is used in early Sun UltraSPARC machines.tmm2002-02-134-0/+1298
| | | | Ported from NetBSD.
* Merge r1.39 from NetBSD (manage both streaming caches for psycho pairs).tmm2002-02-133-473/+368
| | | | | | Use explicit bus space accesses instead of mapping the device memory into kva. Fix support for psycho pairs, and catch up with iommu code changes.
* Merge r1.42 of iommu.c and r1.9 of iommuvar.h from NetBSD (this addstmm2002-02-132-118/+225
| | | | | | | support for managing both streaming caches on psycho pairs). Use explicit bus space accesses instead of mapping the device memory into kva. Move DVMA allocation to the map creation/dma memory allocation functions.
* Clean up bus space debugging support; change sparc64_bus_mem_map() totmm2002-02-132-173/+63
| | | | | | take a bus tag and handle as argument instead of a i/o space id and a physical address, now that nexus handles device memory resource allocations.
* Define constants for the CPU implementation id; export the dectected idtmm2002-02-132-6/+18
| | | | as cpu_impl.
* Don't panic when no interrupt map can be found for a PCI bus; this seemstmm2002-02-131-2/+5
| | | | to happen on some models, like the Netra T1.
* Fix typos in a comment.tmm2002-02-131-2/+2
|
* Add a few new functions/macros: intr_disable() and intr_restore() totmm2002-02-131-0/+23
| | | | | | disable interrupts completely, and stxa_sync(), which performs a store immediately followed by a membar #Sync with interrupts disabled (this is needed for writes to diagnostic registers).
* Minor bug fixes (add a missing break, correct the resource ranges, removetmm2002-02-131-3/+5
| | | | a memory leak).
* Remove WITNESS from GENERIC by default: as we grow more locks, this getsrwatson2002-02-135-5/+5
| | | | | | | | | slower, and may be impeding adoption of -CURRENT by developers. We recommend turning on WITNESS by default on crash boxes, and when doing locking development. It will probably get turned on by default for a week or two following any major locking commits, also. Approved by: all and sundry (jhb, phk, ...)
* Add ID's for a couple of upcoming cards.scottl2002-02-131-0/+4
| | | | MFC after: 1 day
* Fix another bug in handling of multi-link sequence numbers.archie2002-02-131-3/+4
| | | | MFC after: 1 week
* ^U kills an entire input line in most applications,yar2002-02-121-5/+6
| | | | | | | including the default terminal canonical mode. So let ddb(4) be no exception from this rule. Pointed out by: Mark Peek <mark@peek.org>
* Add an option CPU_ATHLON_SSE_HACK which attempts to enable the SSEdwmalone2002-02-126-0/+46
| | | | | | | | | | | feature bit on newer Athlon CPUs if the BIOS has forgotten to enable it. This patch was constructed using some info made available by John Clemens at http://www.deater.net/john/PavilionN5430.html Reviewed by: -audit MFC after: 3 weeks
* Move do_cpuid() from a identcpu.c into cpufunc.h.dwmalone2002-02-124-22/+22
|
* Fix bug in previous commit.archie2002-02-121-2/+1
| | | | Submitted by: Harti Brandt <brandt@fokus.gmd.de>
* Add support for the Linksys WMP-11, Prism 2.5, PCI adaptor.brooks2002-02-122-78/+149
| | | | | Submitted by: Thomas Skibo <skibo@pacbell.net> MFC after: 2 weeks
* o Clearing p/td_retval[0] after aio_newproc() is unnecessary. (We stoppedalc2002-02-121-6/+1
| | | | | calling rfork() to create aio threads in revision 1.46.) o Don't recompute the FILE * when it's already stored in the kernel's AIOCB.
* Add support for the Cenatek Rocket Drive.sos2002-02-122-2/+14
|
* Fix buglets in the ATAPI resume code.sos2002-02-125-16/+26
| | | | | This also fixes an old bug where some ATAPI devices went into funny mode on an 'atacontrol reinit' command.
* MFi386: revision 1.164nyan2002-02-121-5/+0
|
* MFi386: revision 1.391nyan2002-02-121-1/+0
|
* Major update of the ATA RAID code, part 2:sos2002-02-125-153/+420
| | | | | | | | More cleanups of the RAID1 failure mode code. Add functionality that writes the changed RAID config setup back to the disks (in controller BIOS specific format), so that a reboot will make the BIOS pick up the changed config.
* Remove an unused (but initialized) variable from vmapbuf().alc2002-02-122-10/+6
|
* Two fixes from Jonathan Hanna:imp2002-02-121-6/+4
| | | | | | | | | 1) We shouldn't continue when we get a RX complete because we ack it and the TX complete. 2) Fix a couple of spl leaks (why splbio is needed in ISR, I cannot understand). MFC after: 3 days
* The previous commit included a change to fill_kinfo_proc() that resultsalc2002-02-121-1/+1
| | | | in a NULL pointer dereference. Repair this mistake.
* When a duplicate SYN arrives which matches an entry in the syncache,jlemon2002-02-121-0/+5
| | | | | | update our lazy reference to the inpcb structure, as it may have changed. Found by: dima
* Don't claim to have routed an interrupt when the method actually returned anmsmith2002-02-122-2/+9
| | | | error.
* Enable polling to be configured into kernels on non i386 platforms. Note thatgallatin2002-02-124-6/+4
| | | | | | poll_in_trap is only implemented on i386. I've tested this on alpha. Approved by: luigi
* MFS: synchronize the code with the version in -stable, specifically:luigi2002-02-113-67/+102
| | | | | | + SYSCTL_ULONG -> SYSCTL_UINT + some procedure renaming and variable rearrangement + fix the 'interface going deaf' problem same as in -stable.
* Remove mbuf exhaustion warning messages; these are handled by thesilby2002-02-115-16/+0
| | | | | | mbuf system in a rate-limited fashion now. MFC after: 3 days
* Remove mbuf exhaustion warning messages; these are handled by thesilby2002-02-111-6/+0
| | | | | | mbuf system in a rate-limited fashion now. MFC: Already performed due to sloppiness.
* In a threaded world, differnt priorirites become properties ofjulian2002-02-1121-117/+124
| | | | | | different entities. Make it so. Reviewed by: jhb@freebsd.org (john baldwin)
* Add support for the HighPoint HPT374 4 channel ATA chip.sos2002-02-112-2/+30
| | | | Sponsored by: Isilon Systems.
* Fix some bugs in the ohci driver with respect to irq setup failure.joe2002-02-112-6/+8
| | | | Submitted by: nyan
* Teach ddb(4) to delete to the beginning of its command line on ^U.yar2002-02-111-0/+5
| | | | | PR: kern/28976 Submitted by: Nickolai Zeldovich <kolya@orbit.zepa.net>
OpenPOWER on IntegriCloud