summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-07-26Fan tachometers improvements from form@pdp-11.org.ru:Alexander Yurchenko
- correct rpm calculation - automatic devisor tuning - correct handling of fan being stopped and started again Thanks jsg@ for testing.
2005-07-26dlg cant make fun of me for having to use the imperial system anymoreJolan Luff
since he can't spell celsius ok dlg@
2005-07-26Instead of juggling around with cr4 and enabling parts of it sometimes,Artur Grabowski
other parts later, etc. Just set it to the same default value everywhere. We won't survive without PSE and tt's not like someone will suddenly make an amd64 that doesn't support PGE. This will allow us to make the bootstrap process slightly more sane.
2005-07-26Microoptimizations.Artur Grabowski
- Use cmov instead of jmp in mtx_enter - Don't spllower in mtx_leave unless we really have to. tested by many.
2005-07-26In splraise, change an:Artur Grabowski
if (x > foo->bar) foo->bar = x; to: foo->bar = MAX(x, foo->bar); This forces gcc to generate much better code even though both experessions are equivalent. Normally I wouldn't bother with microoptimizations like this, but I needed some generated assembler that uses cmov and splraise used so often.. ok toby@ (well, he ok:ed a diff that didn't use the MAX macro, but it's the same code)
2005-07-26Add _PROF_PROLOGUE to Xspllower since it's so common in kernel profiles.Artur Grabowski
Doesn't hurt, since we don't use spls in _mcount. ok toby@ and miod@ (who doesn't admit to having an amd64)
2005-07-26 - Make a UVM_OBJ_IS_DEVICE macro.Artur Grabowski
- Use it to skip device mappings while dumping core. - Ignore EFAULT errors while dumping core since they can happen even for valid mappings. Just skip that part of the core file and let it get automagically zero-filled. This fixes the broken X core dumps that people have been seeing and also fixes some other potential problems that could prevent core dumps (mmaps beyond EOF, etc.). tedu@ ok
2005-07-26Add missing newline to error message.Christopher Pascoe
2005-07-26Reduce verbosity during dkcsum by moving open/read/close errorKenneth R Westerback
messages inside #ifdef DEBUG/#endif sections. Helps with usb card readers and such that will often have no media. ok weingart@ tom@
2005-07-25add safte, a small driver for monitoring scsi accessed fault-tolerantDavid Gwynne
enclosures via the hw.sensors sysctl tree. ok marco@ krw@ please do tdeval@ looks ok grange@
2005-07-25regenJonathan Gray
2005-07-25Correct the product id of "nForce2 400 AC-97 Audio" to not be thatJonathan Gray
of the ppb so it has some chance of working.
2005-07-25regenJonathan Gray
2005-07-25Give Smart Card part of TI PCI6515 a different product define so thisJonathan Gray
actually compiles.
2005-07-25regenJonathan Gray
2005-07-25Some devices found in marco@'s 915PM based Dell D810.Jonathan Gray
2005-07-25SID_ANSII_SCSI2 is a valid value of SID_ANSIIDavid Gwynne
ok marco@
2005-07-25ichpcib(4) support for 82801FB (ICH6) as found in marco@'s Dell d810.Jonathan Gray
Tested by and ok marco@, ok brad@
2005-07-25add missing comma to initializer.Christopher Pascoe
2005-07-25minor whitespace cleanupChristopher Pascoe
2005-07-25don't bother with printf in *_jalloc()Brad Smith
2005-07-25- mbuf external storage is of (caddr_t), not (caddr_t *).Brad Smith
- simplify code a bit and use MEXTADD macro.
2005-07-24add Broadcom BCM4322 support; reported and tested by Alexander TopolanekFederico G. Schwindt
(atopo at ocv dot org).
2005-07-24simplify error paths and add some missing ones; brad@ ok.Federico G. Schwindt
deallocation for jumbo memory left.
2005-07-24don't need to enable bus mastering in stge_attach().Brad Smith
2005-07-24don't call stge_init() when changing the MTU.Brad Smith
2005-07-24Be more permissive when checking the interrupt vector for devices tied toMiod Vallat
the ISA interrupts; from NetBSD.
2005-07-24Fix a bug introduced in rev 1.58. When relookup() is called withTodd C. Miller
SAVESTART set in cn_flags, it will add an extra reference to the directory vnode pointer, but only when () succeeds. We were doing vrele() regardless of relookup()'s return value, which caused the reference count to be decremented on error when it shouldn't be. OK pedro@ tedu@
2005-07-23- no need to include sys/dkstat.hMartin Reindl
- some formatting fixes and KNF
2005-07-23vm_offset_t -> vaddr_tMartin Reindl
2005-07-23vm_offset_t -> {vaddr_t, bus_addr_t}Martin Reindl
2005-07-23regen.Federico G. Schwindt
2005-07-23Broadcom 4322.Federico G. Schwindt
2005-07-23tabbingMartin Reindl
2005-07-23Fix a few typos. Set 'error' variable before using it in message.Kenneth R Westerback
Makes i386 and amd64 dkcsum.c identical. ok weingart@ tom@
2005-07-23back out last commit, this causes problems on some systems.Brad Smith
2005-07-22remove ICH3 workaround.Brad Smith
2005-07-22Reading the IEEE specs shows that the bits have to be reversed whenBrad Smith
mapping an OUI to the MII id registers. From drochner NetBSD
2005-07-22more Marvell and Realtek PHYBrad Smith
2005-07-22add Linksys EG1032 rev 3Brad Smith
2005-07-22regenBrad Smith
2005-07-22add another Relatek OUI id and another Marvell GigE PHY.Brad Smith
From Linksys EG1032 cards via Johan P. Lindström <johan.p.lindstrom at gmail dot com>
2005-07-22- sync sk_alloc_jumbo_mem() to look like bge's bge_alloc_jumbo_mem()Brad Smith
- oops, forgot to remove a line in sk_rxeof()
2005-07-22also take the PCI subsystem id into consideration when trying to probeBrad Smith
for Linksys EG1032 cards, that way we do not try and attach to newer rev 3 cards that use the RealTek 8169S chipset.
2005-07-21rollback r1.48 since it caused several panics here; brad@ ok.Federico G. Schwindt
2005-07-21- add bus_dmamap_sync()'s; From NetBSDBrad Smith
- use pci_mapreg_map() - remove unnecessary splimp() usage in skc_attach() - make sure to disestablish the interrupt on failure Tested by a few end-users.
2005-07-21need moddi3 tooTheo de Raadt
2005-07-21put libkern after libzTheo de Raadt
2005-07-21ICH7 IDE/SATA support based diff from Marcello Balduccini inJonathan Gray
NetBSD PR 30795. ok grange@
2005-07-21regenJonathan Gray