Commit Graph

195430 Commits

Author SHA1 Message Date
plunky 90c70dd232 rearrange libraries to reduce the number of .WAITs (14 -> 6)
during that, fix some outdated comments & list dependents
2010-12-12 12:09:51 +00:00
pooka a97eadf766 multicore update 2010-12-12 11:38:42 +00:00
hannken 916ee575ee brelsel: Clear B_COWDONE flag on clean (! BO_DELWRI) buffer. B_COWDONE is set
if the buffer was read with intention to modify but the caller changed its mind.

This error could lead to snapshot corruption when a buffer with B_COWDONE set
resides on the freelist and we create a new snapshot.
2010-12-12 10:30:09 +00:00
hannken 3b57b82b8f Keep a reference to the snapshot vnode until it gets removed from the
snapshot list.
2010-12-12 10:29:25 +00:00
hannken f29d5492f8 syncsnap: Use bbusy() to take a buffer from v_dirtyblkhd. 2010-12-12 10:28:22 +00:00
tsutsui e0063a27f3 Regen from HADES.in rev 1.12:
> Rename device name of Crazy Dots II ET4000 video from et(4) to et4k(4).
2010-12-12 10:07:34 +00:00
tsutsui caaa33e8a0 Rename device name of Crazy Dots II ET4000 video from et(4) to et4k(4). 2010-12-12 10:05:25 +00:00
tsutsui 6935bb98f8 Regen from GENERIC.in rev 1.92:
> Rename device name of Crazy Dots II ET4000 video from et(4) to et4k(4)
2010-12-12 09:58:29 +00:00
tsutsui 0fdbb4b5f8 Rename device name of Crazy Dots II ET4000 video from et(4) to et4k(4)
to deliver the name to recently committed newer and more common MI device,
et(4) at PCIe (Agere ET1310/ET1301 network driver) in PR kern/39094.
http://mail-index.NetBSD.org/source-changes/2010/11/13/msg014416.html

No particular reaction for a month on source-changes-d@,
no responsible person on atari port, and probably
no active user still using ET4000 on TT030 running NetBSD/atari.
2010-12-12 09:56:15 +00:00
tsutsui be1c859466 We can't assume syscall retains t0, unless it's documented as ABI. 2010-12-12 09:03:06 +00:00
tsutsui f3f411dad2 brk(2) should update __curbrk, not __minbrk or garbage. 2010-12-12 09:00:37 +00:00
skrll e0f712ca4b Remove an XXX. 2010-12-12 08:54:25 +00:00
skrll 50bba0955c Fix DEBUG build after previous. 2010-12-12 08:52:49 +00:00
skrll bac8b2599d Update struct pdc_model with hwmodel and hv fields for hvers.
Rename cpu_hvers to cpu_modelno.
2010-12-12 08:23:14 +00:00
christos 6a9b3088d8 hook to the new awk in external 2010-12-12 04:06:19 +00:00
jakllsch 25b14350ac Actually, 31244 does not refer to the Silicon Image SiI3124,
but the now-obscure Intel GD31244.
2010-12-12 00:38:07 +00:00
rtr d9e0d8ab8b add obsolete entries for libamu to make MKDEBUGLIB=yes work on amd64 again 2010-12-12 00:19:44 +00:00
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