195413 Commits

Author SHA1 Message Date
christos
bbf28506fe things moved to external. 2010-12-11 23:36:08 +00:00
mrg
1b84084183 remove obsolete file 2010-12-11 23:04:46 +00:00
matt
a4b81bfcbe Fix typo (31224 -> 3124) and constify an array. 2010-12-11 22:45:31 +00:00
matt
ebb2d31714 Add routines to calculate a checkesum if the driver concludes that the
h/w can't do it.
2010-12-11 22:37:46 +00:00
matt
9898b7c4fd When panicing due a non-power of 2 pagesize, include the pagesize in the
panic message.
2010-12-11 22:34:03 +00:00
matt
b7a7b9b8bc Make sure all for loops use { } 2010-12-11 22:32:13 +00:00
matt
dc55b48ba8 Add evcnt_attach_dynamic_nozero, a version of evcnt_attach_dynamic, which
doesn't zero the evcnt before filling in things.  This is needed when the
evcnt itself is being updated before evcnt_attach_dynamic can be called.
2010-12-11 22:30:54 +00:00
matt
e66ccad2ea Add critpoll (critical polling) hooks. These are keep things like watchdogs
from firing when the system is doing stuff like waiting at a ddb prompt or
the kernel is doing a lot of printing.
2010-12-11 22:27:53 +00:00
jruoho
5c1e669b30 Point to module(9) instead of modctl(8). 2010-12-11 19:55:53 +00:00
skrll
6720fc2ed9 Don't panic if something bad happens in attachment. Just print and error
and return.
2010-12-11 19:32:05 +00:00
martin
f6c30c513f Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.
2010-12-11 18:42:33 +00:00
matt
100760831a On powerpc, recognize PCI Express RC root bridges. 2010-12-11 18:25:02 +00:00
matt
13920aa54a Add code to display MSI capabilities. 2010-12-11 18:22:24 +00:00
matt
dc6c35603f Switch to kmem from malloc.
Don't actually set the PREFETCH64 base/limit registers unless they really are
in use.
2010-12-11 18:21:14 +00:00
matt
999a2b8caf arcmsr needs sysmon_envsys 2010-12-11 18:18:09 +00:00
matt
62e486810b Add some PCI Express definitions, MSI, MSIX, etc. 2010-12-11 18:17:39 +00:00
matt
2242c3b6b9 Use device_private 2010-12-11 18:12:45 +00:00
matt
85cd343175 Match Marvell E1145 2010-12-11 18:10:42 +00:00
matt
67a6d6d4c5 Recognize AR8021 2010-12-11 18:10:16 +00:00
matt
d1f7edc5af Regen. 2010-12-11 18:09:33 +00:00
matt
09b2af815f Add two phys (Atheros 8021 and Marvell 88E1145) 2010-12-11 18:09:13 +00:00
matt
3becbb1c42 Make ehci deal with pci devices that have multiple companion functions and
ehci functions.  We can't assume that there will only be one ehci per device.
The existing code could not deal with:

Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 0 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 1 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 2 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 3 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 4 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 5 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x10) at pci1 dev 0 function 6 not configured
Netmos MCS9990 Quad USB 2.0 Port (USB serial bus, interface 0x20) at pci1 dev 0 function 7 not configured
2010-12-11 17:58:41 +00:00
matt
c25d92f48d Regen 2010-12-11 17:46:58 +00:00
matt
6a4b22310d Add some more devices that I've encountered. 2010-12-11 17:45:38 +00:00
cegger
e758ac3c49 ossaudio(3) -> compat/ossaudio and soundcard.h
suggested by Ian Hibbert
2010-12-11 17:32:14 +00:00
cegger
7e86c61f2b add pci(4) and ossaudio(3)
yes, be careful. They can easily conflict. Actually when this happens kdump
fails compiling due to 'duplicate case value'
2010-12-11 17:15:03 +00:00
matt
61d225f047 Don't use r0 in INIT_CPUINFO since it has special meaning to add instructions. 2010-12-11 17:13:49 +00:00
matt
20c382681f Don't init cpu_initclocks too early since that results in decrementer
exceptions before the exceptions have been setup.
2010-12-11 17:12:44 +00:00
christos
5b87ff3a6f - check return of strtoll
- misc cleanup
2010-12-11 16:57:51 +00:00
wiz
e696d9fc3c Remove trailing whitespace, sort sections. 2010-12-11 15:49:34 +00:00
pgoyette
73ddb4f5d6 Handle removal of limit properties correctly, even for sensors that
provide their own internal limit(s).
2010-12-11 15:17:15 +00:00
martin
07864bf9ee Add bnx @ pci 2010-12-11 14:30:12 +00:00
martin
6251718992 Sanitize names a bit, still could use more namespace cleanup 2010-12-11 14:28:38 +00:00
pgoyette
3670e11cda Fix a couple of name-space changes that fell through the cracks.
Hello, martin!
2010-12-11 14:19:29 +00:00
martin
2d30a8bf37 Namespace police: don't use very broad names like CTX_MASK (which accidently
collide with sparc* specific MD macros), mechanically prefix with BNX_.
2010-12-11 12:14:06 +00:00
pooka
c876d9d94e Reset error from umount. This squelches atf "cleanup should not
fail" warning if a test fails when the fs is not mounted.
2010-12-11 11:36:48 +00:00
pooka
772299258e Can't use dynamic data in cleanup (it's run in a different process),
so get rid of $MNTPT and use the constant value the variable was
set to.
2010-12-11 11:31:27 +00:00
pooka
126e32a17e Detach by default or -s to stay-on-top. 2010-12-11 10:44:55 +00:00
rtr
8f9b278727 add missing liblua_g.a debuglib entries needed for MKDEBUGLIB=yes 2010-12-11 10:41:11 +00:00
mrg
2e9e79b55f disable ext2fs support in /boot on amd64 for now. it breaks cd booting.
XXX: i don't know why, or plan to figure it out, but at least now amd64
XXX: isos boot again.
2010-12-11 08:20:17 +00:00
christos
a39b3d540d Back this out. Fails lockdebug with duplicate lock initialization.
Please test with LOCKDEBUG!
2010-12-11 04:21:17 +00:00
pgoyette
cedd9a0b1c Enhance the swsensor(4) pseudo-device's capabilities to emulate more
sensor types
2010-12-11 04:13:03 +00:00
mrg
cad3665385 add a hack to fix up old labels that do not have zero's in numBlocksHi:
if the total sectors reported (via disklabel or otherwise) is smaller
than 2^32, but numBlocksHi is set, zero it out instead.

tested by myself and christos, should fix reports of weirdness seen.
2010-12-11 03:12:10 +00:00
phx
5e554614ee Added viaenv(4), which no longer crashes the system during attachment since
todays bug fix in the driver.
2010-12-10 21:27:21 +00:00
phx
2022dcaf61 Initialize sc_iot early enough to avoid a crash when the hardware monitor
function was found disabled.
2010-12-10 21:20:09 +00:00
joerg
f360555e8a Revert last, gcc(1) checks explicitly for -r on some platforms to disable
passing down --relax as well.
2010-12-10 20:08:17 +00:00
joerg
6ccee47911 Revert last as gcc(1) checks for -r to disable passing down --relax e.g.
on Sparc.
2010-12-10 20:06:17 +00:00
ahoka
6c3ce79660 nsmb module makefile 2010-12-10 19:46:40 +00:00
ahoka
6110939092 Module support for NetBSD 2010-12-10 19:44:18 +00:00
phx
ef6c6c099e Add uthum(4), which I just verified working. 2010-12-10 17:54:34 +00:00