Commit Graph

167915 Commits

Author SHA1 Message Date
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
reed
9b88c4e54a Document some about being able to view differences and
toggling the different diff formats/tools.
2008-03-17 14:46:54 +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
yamt
8e73684fa1 update. 2008-03-17 09:57:11 +00:00
yamt
7c034e5b2c remove MAXNFSDCNT. 2008-03-17 09:52:26 +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
yamt
ba867c29fd yamt-lazymbuf-base13 2008-03-17 09:17:43 +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
5a25c0ad57 Update the man page to note the additional cards that this driver will
match.  Most of them are experimental.
2008-03-17 02:57:11 +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
lukem
54d1cc9562 Remove unused file. 2008-03-16 23:41:25 +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
lukem
481ad7b03a errexit() now provides the trailing \n (since fsck_ffs assumed that
from a conversion from err(3)), so "make it so".
2008-03-16 23:17:55 +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
lukem
84f13c769e sync from fsck_ffs/dir.c 1.21:
lost+found directories are mode -1700
2008-03-16 22:32:14 +00:00
cube
6b4a748e71 Fix compilation. Noted by yamt@. 2008-03-16 22:30:31 +00:00
dholland
5c63a0cde0 +CFG (context-free grammar, control-flow graph) 2008-03-16 20:50:00 +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
wiz
636a4f58a9 Describe how to portable extend a file. From joerg. Bump date. 2008-03-16 11:33:40 +00:00
wiz
1d5c92c6f8 Various improvements (mdoc, wording, punctuation). 2008-03-16 11:07:23 +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
xtraeme
c3a503482a Xref cac(4). 2008-03-16 10:01:32 +00:00
xtraeme
1358d6ea9a Mention cac(4), now that it has basic bio(4) support. 2008-03-16 10:00:58 +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
lukem
bf66c8a26c Obtain RELEASEMACHINEDIR from the make environment.
Display the path to the binary set dir upon completion of "sets".
2008-03-16 07:52:59 +00:00