Commit Graph

78004 Commits

Author SHA1 Message Date
dyoung
2a007394bf For clarify, use the name opt_athhal.h instead of opt_ah.h for the
file where Atheros HAL options go.
2005-10-19 09:04:23 +00:00
dyoung
e0b6419887 Define AH_REGOPS_FUNC because the macppc HAL uses the register
read/write functions to access the hardware.
2005-10-19 09:02:52 +00:00
dyoung
fde2c4b7ca No need to create opt_ah.h in these makefiles, config(8) takes care
of it.
2005-10-19 09:01:27 +00:00
christos
e780c5edaf regen 2005-10-18 19:52:07 +00:00
christos
8fc452caf8 add the missing %% that confused joerg and the parser. 2005-10-18 19:51:47 +00:00
joerg
5e74202601 Regen. 2005-10-18 19:08:51 +00:00
joerg
39fcee12fe sys_uselib is needed by COMPAT_LINUX for EXEC_AOUT. Since it doesn't get
build when EXEC_AOUT is not defined, the syscalls.master entry has to be
conditionalized. Alpha did so already, so let the other archs catch up
with it.

Go-on: christos
2005-10-18 18:37:44 +00:00
joerg
397ada6330 Both iwi and ipw need arp. 2005-10-18 17:53:14 +00:00
tsutsui
c264961875 TAB/space cleanup. 2005-10-18 11:31:12 +00:00
tsutsui
c68fe159b9 Pass proper values to MI wsmouse_input(9):
http://mail-index.netbsd.org/port-sgimips/2005/10/18/0000.html

Ok'ed by Steve Rumble.
2005-10-18 11:20:48 +00:00
sekiya
8c83f7b667 Restore missing call to r5k_enable_sdcache(). Its' removal was a thinko
on my part -- the COP0 SC presence test fails on r5k IP22, but
r5k_enable_sdcache() will DTRT regardless.

Pointed out by tsutsui@
2005-10-18 00:47:07 +00:00
yamt
464cf44f6c dksubr: do b_blkno -> b_rawblkno translation earlier so that bufq can uses it. 2005-10-18 00:14:43 +00:00
christos
30756e31a3 small list macro cleanup:
- remove duplicate LIST_FIRST (Liam Foy)
- change to use LIST_FOREACH or for () instead of while () for consistency
2005-10-17 19:51:24 +00:00
rpaulo
8f596fb842 If we recieve a PIM register message when IPv6 PIM-SM routing is
enabled avoid a crash when forwarding the packet to outgoing interfaces.

Taken from FreeBSD which obtained it from KAME.
2005-10-17 15:56:43 +00:00
yamt
450531ecb3 bufq_alloc: fix BUFQ_STRAT_ANY. pointed by Juan RP. 2005-10-17 12:28:21 +00:00
yamt
e7bb12271d sysctl_kern_bufq_strategies:
- handle too small buffer.
- handle the case that no bufq is configured.
2005-10-17 12:25:15 +00:00
simonb
94e3e9f7f5 Spinkle some KNF. 2005-10-17 03:08:24 +00:00
tls
389883922e From Gilles Roy <groy@qnx.com>: don't increment buffer pointer twice
(once before callback, once *in* callback) for MAC transforms.  How did
this driver ever work at all without this?
2005-10-16 20:26:47 +00:00
he
dffb25a969 Complete the renaming gpio -> ppcgpio for evbppc, to make room for
the MI gpio.  Internal static functions in gpio_opb.c are not
renamed here, but the softc type is renamed together with the attach
declaration data.
2005-10-16 16:35:44 +00:00
uwe
b388366e8f Shave off one instruction in _syscall. 2005-10-16 16:34:17 +00:00
uwe
d0155fac59 Trim trailing whitespace. 2005-10-16 14:36:28 +00:00
yamt
d6c1668a16 sysctl_kern_bufq_strategies:
- don't assign size_t value to error number.
- remove an unnecessary assignment.
2005-10-16 08:30:37 +00:00
yamt
707ea62186 sysctl_kern_bufq_strategies: skip a dummy strategy correctly. 2005-10-16 08:27:51 +00:00
yamt
42504f126e fix BUFQ_PEEK, which i broke in rev.1.4. 2005-10-16 08:01:08 +00:00
christos
c4dfab8cf0 Make the grouplist invalidate function take a grouplist instead of a group.
Suggested by yamt.
2005-10-16 02:55:18 +00:00
christos
762d3ada2a This is why I hate gotos: My previous change had different semantics than
the original code since if fullgroups was empty and partgroups wasn't, we
would not clean up partgroups (pointed out by yamt). Well, this one has
different semantics from the original, they are the correct ones I think..
2005-10-16 02:21:40 +00:00
yamt
9f4759ccce add some bufq helper functions.
#if 0'ed out as there is no user currently.
2005-10-16 02:02:23 +00:00
yamt
4c9b2e4a8f whitespace. 2005-10-16 00:30:03 +00:00
yamt
834e69f6e0 fix rcsid. 2005-10-16 00:28:32 +00:00
christos
1e976481fe avoid a goto. 2005-10-16 00:28:04 +00:00
tls
240f327f5b HAVE_CRYPTO_LZS, not HAVE_CRYPTO_LSZ (worse, it was inconsistently used) 2005-10-16 00:14:22 +00:00
tls
c4b950020a Don't use rnd_extract_data to set up IVs for new sessions; it is very
expensive, and pointless.  As elsewhere in the kernel (and as approved
under FIPS-140-2 by multiple test labs, incidentally) we use arc4 to
generate IVs here; there is no benefit to their being cryptographically
strong so long as there is a sufficient Hamming distance between them.
2005-10-16 00:12:42 +00:00
xtraeme
40b7fffb63 Add a sysctl function that will print all buffer queue strategies
built in the kernel:

$ sysctl kern.bufq.strategies
kern.bufq.strategies = disksort fcfs priocscan readprio
$
2005-10-15 22:36:18 +00:00
chs
528fa60e43 in pool_do_cache_invalidate(), make sure to process both full and partial
group lists even if the first one we look at is empty.  fix ddb print routine.
2005-10-15 21:22:46 +00:00
elad
e47c05bf2b copystr and copyinstr return int, not void. 2005-10-15 21:18:54 +00:00
xtraeme
2228b00dd4 This needs <sys/bufq_impl.h> 2005-10-15 19:57:24 +00:00
jdolecek
91669fdaa7 use VLAN_OUTPUT_TAG() 2005-10-15 19:32:36 +00:00
yamt
6a53e94d49 bump to 3.99.10. bufq interface change. 2005-10-15 17:41:19 +00:00
yamt
aec75b1cc6 - change the way to specify a bufq strategy. (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)
2005-10-15 17:29:10 +00:00
itohy
9a9aac9079 pwr_sw_ctrl(): do not panic() if panic has already happened
to avoid infinite panic recursion (this is called by cpu_reboot()).
2005-10-15 16:16:38 +00:00
macallan
4188757b69 Add a multiple include guard. 2005-10-15 15:41:22 +00:00
itohy
d1e6cc9002 Add code to parse device name specified in the boot prompt.
Update boot version to 1.3.
2005-10-15 11:34:17 +00:00
itohy
f1b7dcd6f3 When read from a disk partition, add the partition offset properly.
Do not use NULL address for disklabel buffer (wow).
2005-10-15 10:58:06 +00:00
tls
eb5ea4a10b Add support for the hardware random number generator on the Hifn 7811
and 795x.  This was present in the driver before, but disabled due to
problems with the actual randomness of generated numbers on the
ubiquitious 7900-series parts.  The code here is far, far more
conservative than anyone else's driver for this RNG is -- but I
believe that conservatism is called for, because the 79xx RNG
design is missing a number of pieces from Hifn's "reference" 6500
RNG, and thus the numbers it generates must be treated with some
care.

Support for the 7811 RNG (which is a full-fledged 6500 type
generator) is pretty much the same here as in other variants of
this driver, except that it uses Hifn's "worst case" estimate of
actual entropy per output bit, so it will accumulate bits much
more slowly.  The 7811 support is untested.
2005-10-15 08:58:15 +00:00
tls
15cb9441e1 From OpenBSD hifn7751.c revision 1.149: enable the command-wait interrupt
even if there's only one request in the queue.  Sometimes we seem to miss
multiple interrupts, and command-wait saves us.
2005-10-15 04:31:20 +00:00
tsutsui
61d9372a28 All of FIREPOWER_ES, FIREPOWER_MX and FIREPOWER_LX require
the same platinit function, so don't check them separately.
2005-10-15 02:17:48 +00:00
xtraeme
b0a4f3e4be Added support for Winbond 83627THF, from OpenBSD. 2005-10-15 00:41:48 +00:00
xtraeme
46b58a0a77 Enable atu(4). Requested by Martijn van Buul via PR pkg/30243. 2005-10-14 23:26:10 +00:00
heas
bfceed8072 Add major for twe(4), so that management applications have a /dev entry to use. 2005-10-14 22:02:42 +00:00
riz
2feefaad21 Move a little more under #if NGPIO > 0 2005-10-14 19:21:07 +00:00