Commit Graph

167928 Commits

Author SHA1 Message Date
martin 4882fcc17f Fix a few format strings (hidden by option ifdefs) 2008-03-18 10:04:14 +00:00
dogcow de88169824 pesky missing spaces. 2008-03-18 05:05:35 +00:00
lukem b08050d67a Consistently document RELEASEDIR/RELEASEMACHINEDIR. 2008-03-18 04:24:38 +00:00
lukem 2c1c2b60b2 Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
2008-03-18 04:20:36 +00:00
mrg 5e0e0b0a59 need <sys/atomic.h> now. 2008-03-18 02:49:15 +00:00
jmcneill 6a2a315184 Remove debug printf: ``so we need 10 x 8 tiles -> 00500000'' 2008-03-18 02:41:38 +00:00
ad 1b558d1305 uid_find:
- Issue membar_producer() before inserting the new uidinfo.
- Optimize slightly and fix a couple of KNF nits.
- Need sys/atomic.h.
2008-03-18 02:35:29 +00:00
nakayama 0a332c0d29 Fix a race condition in IPI handlers of save/drop fpstate, from OpenBSD.
Reported and tested by martin@.
2008-03-17 23:54:03 +00:00
rmind 33928e0f83 - Replace uihashtbl_lock and struct uidinfo::ui_lock with atomic operations.
This make uid_find(), chgproccnt(), chgsbsize() and lf_alloc(), lf_free()
  functions lock-less.
- Increase the size of uihashtbl in case of MP system, as suggested by <ad>.
- Add HASH_SLIST type for hashinit().

Reviewed by <ad>.
2008-03-17 21:16:03 +00:00
skrll 482dcc2f35 #include "nbsd-nat.h" 2008-03-17 20:01:12 +00:00
nakayama 4eab56b382 Change statintr and schedintr similar to kern/kern_clock.c. 2008-03-17 18:31:19 +00:00
ad c796b0c73a 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 18:01:44 +00:00
skrll 1c84a0c3c5 Add nbsd_pid_to_exec_file to target ops. 2008-03-17 17:39:15 +00:00
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