Commit Graph

167945 Commits

Author SHA1 Message Date
cube
7aa6248cdf Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
2008-03-18 20:46:35 +00:00
he
0db6a6b023 When compiling for _STANDALONE, omit a bunch of headers which aren't really
needed and which trigger build problems.

(These two files should probably be unified and put under common/...)
2008-03-18 20:11:43 +00:00
nakayama
8aead4fcfb Fix a race when increment an interrupt level event counter. 2008-03-18 18:22:43 +00:00
christos
00f5c7fe8d Avoid integer overflow; reported by Maksymilian Arciemowicz. 2008-03-18 18:16:08 +00:00
christos
4453aa15bd Fix compilation, from Kurt Schreiner 2008-03-18 17:35:36 +00:00
christos
fb30984e82 un-bitrot #if 0 testing code. 2008-03-18 15:38:57 +00:00
pooka
0b82eddb8b Reorder a few init bits into a better order to make syspuffs work again. 2008-03-18 15:16:22 +00:00
reed
742cd5ab94 Change email address from netbsd-help to netbsd-users.
I am confused about the context of this though.
2008-03-18 15:03:57 +00:00
tsutsui
f9697db4a0 Fix botched spl(9) bug I introduced back in 3.99.18 (rev 1.64):
Don't enable unhandled interrupts before all interrupts are processed.

Should fix "long download, network frozen" problems reported on
port-cobalt by several people.
2008-03-18 15:02:12 +00:00
christos
469658ec62 mention bzip2-1.0.5 2008-03-18 15:02:00 +00:00
christos
797a81839f adjust for 1.0.5 2008-03-18 14:58:41 +00:00
christos
2386346428 update sets for bzip2-1.0.5 2008-03-18 14:54:31 +00:00
christos
0738e9e28d no more texinfo files. 2008-03-18 14:48:39 +00:00
christos
cc69789779 merge conflicts 2008-03-18 14:47:07 +00:00
christos
4a6adca94a from http://www.bzip.org 2008-03-18 14:41:44 +00:00
tsutsui
0e8643dfc7 It looks vlan tag info must appear not only in the first descriptor
but in all descriptors of a multi-descriptor transmission attempt on re(4).

Problem was reported and fix was confirmed by Chris Brookes on tech-net.
Should also close PR kern/37959.
2008-03-18 14:06:56 +00:00
njoly
d5bb355fe9 Handle rumpcalls/rumpcallshdr differently by always defining a default
value, which can be overwritten with syscalls.conf defines (just like
sys_nosys).

This fix a problem where rump awk variables are set to 0 value,
leading to the creation of an unexpected file with that name.

ok by pooka.
2008-03-18 12:36:15 +00:00
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