tsutsui
887a89aa5c
Use device_lookup_private() rather than using cd_devs[] directly to get softc.
...
XXX maybe we should change a type of cd_devs[] in struct cfdriver
from (void *) to device_t.
2008-06-08 18:18:33 +00:00
tsutsui
c9a8620b99
Replace homegrown pad_find_softc() with device_lookup_private().
2008-06-08 18:14:31 +00:00
tsutsui
fefb677d21
Use device_private() and device_lookup_private() to get softc
...
and to see if device unit is vaild.
2008-06-08 17:30:08 +00:00
tsutsui
edcf0507a0
Use device_private() and device_lookup_private() in more places.
2008-06-08 17:27:51 +00:00
tsutsui
e45b74073d
Use device_private() and device_lookup_private() to get softc.
2008-06-08 17:08:23 +00:00
tsutsui
a0e4edbb58
Use device_lookup_private() to get softc.
2008-06-08 16:39:43 +00:00
tsutsui
40b72ee81a
Use device_private() and device_lookup_private() to get softc.
2008-06-08 16:39:11 +00:00
tsutsui
5b30cb96d9
Use device_lookup_private() to get softc.
2008-06-08 15:44:17 +00:00
joerg
d2768df2f3
Mention 64bit support once during boot and not every time the controller
...
is reset.
2008-06-08 14:02:25 +00:00
tsutsui
1f459d82b5
Replace device_lookup() with device_lookup_private() on getting softc
...
for future device_t/softc spilt.
2008-06-08 12:43:51 +00:00
ad
5ab3329550
Correct previous.
2008-06-08 12:23:18 +00:00
ad
7304342b50
cdev_tty: don't acquire kernel lock, as we may need to call this with
...
tty_lock already held (and it would reverse the usual lock order).
2008-06-08 12:22:39 +00:00
ad
536e41c542
Fix up bus_dmamap_sync calls.
2008-06-08 11:58:50 +00:00
mlelstv
6e5c763373
really set Tx thresholds
2008-06-08 11:41:26 +00:00
darrenr
1752f1637c
Use of kernel malloc to record what memory ipfilter was using was broken
...
due to bad placement of a #define inside a macro that was never true for
a kernel build.
2008-06-08 11:31:28 +00:00
cegger
cd3c32c639
make this build with AZALIA_DEBUG
...
get rid of XNAME macro
2008-06-08 08:47:05 +00:00
tsutsui
1c6ef0f169
Add device nodes for usb devices.
2008-06-08 04:05:58 +00:00
tsutsui
b3d67eaca7
Remove unnecessary casts against void pointers.
2008-06-08 03:56:09 +00:00
tsutsui
ec3c45aecf
Replace device_lookup() with device_lookup_private() to get softc
...
after device_t/softc split. PR kern/38885 from Jonathan A. Kollasch.
2008-06-08 03:49:26 +00:00
uwe
bb8100256b
Cosmetics: add blank lines to make db_trap() call more prominent.
...
s/kdb/ddb/ is a comment (does anyone really still calls it kdb?)
2008-06-07 22:37:11 +00:00
uwe
dcbf54d0f9
We never pass type = -1 to kdb_trap() so g/c that cargo-culted case.
2008-06-07 22:32:18 +00:00
uwe
720af5afe1
Fix IS_BREAKPOINT_TRAP: EXP_BREAK is not a breakpoint trap, it's UBC
...
(user break controller) trap, and we use UBC for single-stepping, not
for ddb breakpoints. ddb breakpoints are "trapa 0xc3".
2008-06-07 22:22:10 +00:00
uwe
5fc69ea9ab
Pass trap code to kgdb_trap().
2008-06-07 22:04:40 +00:00
bouyer
581b1e5743
Initialize ih_ilevel for the special xenevt_processevt() handler.
...
Should fix KASSERT panic reported by Sarton O'Brien and Kazushi Marukawa
on port-xen@
2008-06-07 20:07:42 +00:00
he
61b81543f6
Mirror the change from shark: something, somewhere is emitting new
...
ELF sections which we need to filter out when objcopying to the a.out
kernel. The new sections are .debug_frame, .debug_loc, .debug_pubnames,
and .debug_aranges.
2008-06-07 19:22:43 +00:00
he
9072349832
Something, somewhere has started emitting a number of new ELF sections,
...
and these need to be removed when objcompying to netbsd.aout. The new
ones were .debug_frame, .debug_loc, .debug_pubnames, and .debug_aranges.
2008-06-07 18:47:41 +00:00
oster
ea16b13f64
- Use bdev_strategy() instead of VOP_STRATEGY().
...
- Don't bother taking the v_interlock or bumping b_vp->v_numoutput --
there won't be any other writers for this bp, and so there's no point
doing this locking song'n'dance.
Patch from Juergen Hannken-Illjes. Thanks!!!
Addresses PR#38856. With this change I've been unable to
replicate the hard hangs.
2008-06-07 17:50:34 +00:00
freza
564b3de4f4
Split device_t/softc. Remove unused macros.
2008-06-07 16:32:38 +00:00
bouyer
36a9122525
For ATAPI, in addition to storing the short sense, report a SCSI_CHECK
...
condition, to that the scsipi layer will issue a request sense.
2008-06-07 12:56:57 +00:00
uwe
3a3f6e0005
Use _SH_TRA_BREAK instead of hardcoded constant under ifdef KGDB too.
2008-06-07 04:01:41 +00:00
kiyohara
246597c4a4
Fix waiting for the input from keyboard after "Boot: " is displayed in frame
...
buffer. Read out ugly data.
2008-06-07 03:56:20 +00:00
uwe
5a5542fb41
Sync icache before returning from db_write_bytes so that we don't get
...
stuck at a ddb breakpoint.
2008-06-07 03:25:13 +00:00
kiyohara
1e2b0fc5a1
Fix spl disable at boot time.
2008-06-07 02:48:00 +00:00
uwe
d5b6c91596
print trapa operand in hex.
2008-06-07 02:43:10 +00:00
uwe
e888b109ca
Move EXPEVT_BREAK case next to EXPEVT_TRAPA case, they both generate
...
SIGTRAP and it's easier to read when they are together.
2008-06-07 00:51:55 +00:00
jmcneill
e0099699ff
Stop and start bluetooth services across suspend.
2008-06-06 23:13:58 +00:00
joerg
63b3541d88
Reorder fields slightly as the position is used by value, all others
...
only as logic value. This makes the object file 32 byte smaller on
amd64.
2008-06-06 22:23:45 +00:00
ad
d78b3bf8f2
PR kern/38881 execve(2) panic: lock error, with path argument > PATH_MAX
2008-06-06 22:21:11 +00:00
mlelstv
208ba41bb4
mutex.h is implied by condvar.h
...
param.h is required for xen
2008-06-06 20:51:51 +00:00
joerg
3498d844d7
Explicitly recognize the PNP ID of PCI-X bridges. This is normally
...
redundant as DSDTs should provide _CID for it.
2008-06-06 20:34:24 +00:00
drochner
598d615d27
add a KASSERT to catch missing locators
2008-06-06 17:52:40 +00:00
drochner
ad077b5aaa
oops, forgot to pass locators when I simplified the autoconf code
2008-06-06 17:52:02 +00:00
dyoung
b9a1c75c4b
Fix typo in comment.
2008-06-06 17:39:56 +00:00
ad
f00b42c246
Back out previous.
2008-06-06 14:01:32 +00:00
ad
ad1863a64a
Wrap an expensive check in DIAGNOSTIC.
2008-06-06 13:52:56 +00:00
ad
6e5329fd40
Use a dummy assembly file so we won't try produce lint stuff.
2008-06-06 13:35:06 +00:00
ad
884b58c222
Put a dummy function in here that uses a couple of the types.
...
Otherwise, gcc won't emit any debug info.
2008-06-06 13:21:00 +00:00
ad
6a33531fe1
- Make getiobuf() return buffers marked BUSY.
...
- Sprinkle more assertions.
2008-06-06 12:49:15 +00:00
tron
a36c431c01
Use proper C99 syntax to statically initialize a "rb_node" structure to
...
fix the build.
2008-06-06 12:29:59 +00:00
jmcneill
06fd33749e
uhci_device_intr_done: when re-queueing, pass pipe direction to
...
uhci_alloc_std_chain instead of always 1 (read). ok drochner
2008-06-06 11:21:16 +00:00