xtraeme
b2af3e5bc6
Merge some changes from OpenBSD:
...
RT2560+RT2661: update the physical address in the RX descriptor after
bus_dmamap_load() in the case where the same mbuf is reloaded.
modify interrupt handlers to exit early and return 0 on shared interrupts.
RT2661:
flags for register TXRX_CSR4 were shifted one bit too much on the left.
this has probably affected short preamble support as well as hardware
multi-rate retries settings.
fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:
don't call xxx_set_chan() if the interface is not up&running.
Tested with the following hw:
ral0 at pci5 dev 0 function 0: Ralink Technologies RT2561 802.11b/g (rev. 0x00)
ral0: interrupting at ioapic0 pin 20 (irq 10)
ral0: 802.11 address 00:80:5a:4f:ab:e2
ral0: MAC/BBP RT2561C, RF RT2527
2008-03-17 17:22:49 +00:00
ad
ad4f28d1e9
Make them compile again.
2008-03-17 17:05:54 +00:00
ad
c42a4d1422
Add a boolean parameter to syncobj_t::sobj_unsleep. If true we want the
...
existing behaviour: the unsleep method unlocks and wakes the swapper if
needs be. If false, the caller is doing a batch operation and will take
care of that later. This is kind of ugly, but it's difficult for the caller
to know which lock to release in some situations.
2008-03-17 16:54:51 +00:00
ad
495b385c33
Shave more cycles off tsc_get_timecount(). From dsl@
2008-03-17 16:46:47 +00:00
cube
de0b597e7c
Fix previous (aprint_*_dev usage).
2008-03-17 13:38:25 +00:00
dogcow
f466c3913d
fix blatant errpr [sic], and correct args to sbmatch/aprint_error_dev.
2008-03-17 10:39:49 +00:00
kiyohara
7f2e285540
Clean up for includes of board independent driver.
2008-03-17 09:30:02 +00:00
kiyohara
3720700f83
Enclose "#ifndef _ARM_PCI_MACHIDEP_H_".
2008-03-17 09:20:23 +00:00
plunky
a09c132d77
move the updating of num_cmd_pkts to its own function, mostly so that
...
pending commands will be output on the device in the order that they
were queued.
2008-03-17 09:16:17 +00:00
yamt
a67bae0b7b
- simplify ASSERT_SLEEPABLE.
...
- move it from proc.h to systm.h.
- add some more checks.
- make it a little more lkm friendly.
2008-03-17 08:27:50 +00:00
yamt
1ffbab1764
move schedppq from sched.h to param.h because it's used by some of
...
PRI_ constants.
2008-03-17 08:20:05 +00:00
nakayama
6456819faa
Make schedintr interrupt handler per-CPU.
...
While there rename tickintr interrupt handler and share initialization
code with schedintr.
2008-03-17 04:04:00 +00:00
elric
d670789a3d
Moved USB_PRODUCT_NOVATEL2_MERLINV620 into the UNTESTED section as the
...
man page indicated that it is untested. Fixed some whitespace issues.
2008-03-17 02:43:56 +00:00
elric
4b299d47e7
Made a number of modifications, including:
...
1. fixed a bug where the last bulk in/out was chosen rather
than the first. This got my Sierra AC 595 working,
2. reworked some of the match logic to include flags for the
matches,
3. defined a flag UNTESTED which causes a warning to be output,
4. added product/vendor IDs from other OSes (OpenBSD, FreeBSD,
Linux) but marked them UNTESTED.
2008-03-17 02:40:04 +00:00
elric
394d344d7a
Add a number of products which will be supported in ugensa(4).
...
Most of these are experimental and the product/vendor IDs are
snarfed from OpenBSD, FreeBSD and Linux.
2008-03-17 02:37:51 +00:00
cube
5b1afbbaae
Make this compile after device_t/softc split.
2008-03-17 01:16:22 +00:00
cube
9f2d68dedf
Fix fallout from softc split.
2008-03-17 00:53:12 +00:00
ad
2d19d2a3e9
Process group and session structures are allocated so infrequently that
...
there is no point having seperate caches for them. Just use kmem_alloc().
2008-03-17 00:52:56 +00:00
rmind
05595560a2
- Initialize uihashtbl in resource_init();
...
- Make some variables static, remove the externs from header;
- Wrap few long lines, misc;
No functional changes are intended.
2008-03-17 00:18:24 +00:00
yamt
b09761a4bb
arint_normal -> aprint_normal
2008-03-17 00:00:55 +00:00
plunky
5f997830fe
we always know the bdaddr and type of a link when creating it, so
...
pass them to the _alloc() function and let it set them.
2008-03-16 23:28:10 +00:00
plunky
0b1dda7d78
insert new links at the tail of the queue so that if a create_connection
...
command fails to start we can find the relevant link, since it will be
the first one with the pending flag set.
2008-03-16 23:14:24 +00:00
rmind
ae5c2ec2bd
Workaround the case, when l_cpu changes to l_target_cpu, and causes
...
the locking against oneself. Will be revisited. OK by <ad>.
2008-03-16 23:11:30 +00:00
cube
6b4a748e71
Fix compilation. Noted by yamt@.
2008-03-16 22:30:31 +00:00
dyoung
1ac75f0733
Always deviter_release().
2008-03-16 19:57:39 +00:00
he
c69d818cfe
Patterned after the other ports, define _MACHINE and MACHINE before
...
including <arm/arm32/param.h>. Fixes build problem for rump.
2008-03-16 19:54:11 +00:00
uwe
f0757531d4
Only SH7750 and SH7750S require updates to memory-mapped data cache
...
arrays to be performed while running on P2. Don't penalize other cpus
that can do it from P1.
2008-03-16 19:17:53 +00:00
uwe
04e0ee32b2
Rewrite RUN_P2, RUN_P1 in asm. gcc4 is too happy to optimize away
...
assigned-goto versions if try to do anything fancy with them
(discovered by trying to wrap RUN_P2 into an "if").
2008-03-16 19:14:08 +00:00
kiyohara
4e674399aa
Remove unnecessary comment-outed call.
2008-03-16 17:39:56 +00:00
kiyohara
f717170f44
Remove TEXTADDR. We start to 0x100000.
2008-03-16 17:37:09 +00:00
he
02e88f9885
Adapt to device_parent() taking a device_t, not a struct device *.
2008-03-16 16:08:57 +00:00
cube
fa7e4a28ef
Don't assume a struct device is embedded in the softc.
2008-03-16 15:22:05 +00:00
yamt
d28c692afa
fix compilation
2008-03-16 13:58:22 +00:00
yamt
79c3b981c1
- wrap bintime with !defined(_STANDALONE) as suggested by Valeriy E. Ushakov.
...
- add a comment.
2008-03-16 13:19:55 +00:00
tsutsui
49576266b9
Add support for optional Z85C30 serial console on Cobalt Qube 2700.
...
Bump version.
2008-03-16 10:10:43 +00:00
tsutsui
c828b4e601
Add more wait after sending a setup packet since
...
21041 on Qube 2700 seems to require more setup time.
2008-03-16 09:38:17 +00:00
uwe
66575b7b12
If we bother to report number of wired TLB entries we might as well do
...
it correctly.
2008-03-16 07:16:37 +00:00
cube
bb192d4cfd
Split device_t and softc for the ... wait for it ... [air quotes] MI
...
variant of fdc(4)/fd(4). Other cosmetic changes as appropriate.
2008-03-16 00:58:56 +00:00
cube
d41ce071db
Split device_t and softc for isapnp(4). Use proper types, ansify when
...
appropriate.
2008-03-15 23:35:09 +00:00
cube
4dccf0ae94
Split device_t and softc for opl(4). That should have been done along with
...
midi(4), because opl_softc embed a midi_softc.
Fixes PR#38242 by Onno van der Linden.
2008-03-15 23:14:38 +00:00
uwe
5c45d9ed62
defflag cache related options.
2008-03-15 22:48:58 +00:00
cube
612c30d938
Split device_t and softc for sb(4) and all its attachments.
2008-03-15 21:09:02 +00:00
nakayama
9db309f3e2
Use macros to specify a interrupt level.
2008-03-15 20:14:17 +00:00
christos
a08047d21c
Update alignment comment.
2008-03-15 19:02:49 +00:00
cube
88906c66df
Use proper types.
2008-03-15 18:59:07 +00:00
cube
7582ef2fff
Split device_t and softc for pckbd(4) and pms(4).
2008-03-15 18:46:22 +00:00
matt
6e8b97e230
After a process in swapped in, refresh the pcb's paddr.
2008-03-15 18:42:06 +00:00
dsl
467fb43e11
Add -momit-leaf-frame-pointer, saves a few bytes.
2008-03-15 18:00:32 +00:00
cube
8bc324423f
Split device_t and softc for isa(4).
2008-03-15 16:56:29 +00:00
ws
8297b01db8
Set scope on IPv6 multicast address to give carp a chance to work for IPv6, too.
...
From FreeBSD.
2008-03-15 16:44:03 +00:00