Commit Graph

151732 Commits

Author SHA1 Message Date
bjh21
6f0b467d92 Mention sec(4). 2006-10-01 13:05:28 +00:00
bjh21
a4c2f4b0d0 Add sec(4). 2006-10-01 13:05:05 +00:00
pavel
b4d9afa72c In pf, there are lots of #ifdef ALTQ, but our ALTQ is not what pf expects,
and if ALTQ and pf are both enabled, it leads to compile errors. So,
change all tests for ALTQ to ALTQ_NEW, which won't be defined.

This allows simultaneous compilation of pf and ALTQ and is a temporary
measure before the peter-altq brach is merged.

Tested and approved by Peter Postma.
2006-10-01 12:52:24 +00:00
bjh21
5375dc7f10 New driver, sec(4), for the Acorn SCSI Expansion Card. Unlike asc(4), this
driver uses the board's DMA system, uses the machine-independent WD33C93
driver, works on NetBSD/acorn26, and doesn't share a name with six other
machine-dependent SCSI drivers.  Not tested on acorn32, but it seems to
work tolerably well on my A540.
2006-10-01 12:39:35 +00:00
itohy
2a96724f93 Change Id to NetBSD 2006-10-01 12:11:52 +00:00
tnozaki
0490c7eba2 fwprintf(stderr) may coredump, when LC_CTYPE locale is set none C/POSIX.
make sure to initialize struct __sfileext in FILE.
2006-10-01 10:29:21 +00:00
martin
3cda2d1ef3 Oops, now *realy* do print the non-truncated firmware boot path 2006-10-01 10:15:24 +00:00
plunky
b1b95bf647 Reduce memory usage by not allocating a chunk for a bitmask. 2006-10-01 10:13:54 +00:00
martin
6125ef30d2 Print the raw bootpath value 2006-10-01 10:04:13 +00:00
martin
9842f0088d Use more device_ accessor macros 2006-10-01 10:02:28 +00:00
itohy
b2d7fb48f1 Use ATA timing, instead of busmaster wait, for adding waits.
Use default wait value 0x01.
2006-10-01 09:53:08 +00:00
elad
69522b1b54 Add 'struct tty;', pointed out by dogcow@, thanks! 2006-10-01 09:06:41 +00:00
tsutsui
6740d1fc1c Don't forget to initialize obio_space_tag. 2006-10-01 06:26:01 +00:00
plunky
9fcb439a02 fix silent dependencies (uintN_t) 2006-10-01 06:08:08 +00:00
tsutsui
def8ea24fa u_int8_t -> uint8_t 2006-10-01 06:02:53 +00:00
tsutsui
067fc6ddda Fix function argument types in description. 2006-10-01 06:01:47 +00:00
tsutsui
cd4f2a86f4 - pc532 is ${MACHINE}, not ${MACHINE_ARCH}; use ns32k
- fix a comment (sh5 has been switched to gcc4)
2006-10-01 05:06:20 +00:00
tsutsui
ed30e7e8a0 Note sun3 bus_space(9). 2006-10-01 05:00:37 +00:00
tsutsui
4cd045d8ce sh5 and hppa have been switched to gcc4. 2006-10-01 04:57:47 +00:00
tsutsui
d23b794c9e First attempt at bus_space(9) support for sun3 with common sun68k/bus.c:
- make sun3 port use common sun68k files as much as possible
- add temporary options _SUN2_ in std.sun2 until sun3 can share all
  sun68k files (autoconf.c and isr.c are not yet)
- move sun68kvme declaration temporary as well from files.sun68k to files.sun2
- rename and move sun68k_find_prom_map() function to MD sources since it
  can't be shared with sun3
- add bus tag members to struct confargs and initilize them where appropriate

XXX1: MD bus_dma(9) backends are not implemented (yet).
XXX2: more code (obio etc.) should be shared among sun3, sun3x and sun2.
2006-10-01 03:53:27 +00:00
jnemeth
51cc6c4041 PR/34654 -- Peter Szilagyi -- add support for Belkin F5D6050 802.11b dongle 2006-10-01 02:06:34 +00:00
hubertf
fe81bd2f72 Add "list -n" to print ID and class numerical, instead of resolving to strings:
miyu% pcictl /dev/pci1 list
	001:00:0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (VGA display)
	miyu% pcictl /dev/pci1 list -n
	001:00:0: 0x50461002 (0x3000000)

OK'd by thorpej@
2006-10-01 00:13:27 +00:00
hubertf
b850659285 Revert previous commit - just keep logfiles around, don't nuke them on
upgrades.
2006-09-30 22:50:41 +00:00
manu
c7242e7e9f emove dead code (Coverity 4165) 2006-09-30 21:49:37 +00:00
manu
07b750b745 Fix memory leak (Coverity 4179) 2006-09-30 21:38:39 +00:00
manu
df69765a89 update the scripts for wrorking around routing problems on NetBSD 2006-09-30 21:22:21 +00:00
jld
af0234e90d Remove erroneous boilerplate about VOP_POLL's return value (which was
already described correctly earlier in the paragraph).
2006-09-30 21:18:38 +00:00
jld
0ebf778b9d The poll routine needs to return POLLERR on error, not an errno. Sorry
about that.  Pointed out by Juergen Hannken-Illjes in mail.
2006-09-30 21:00:13 +00:00
elad
f831edb7d0 Some mdoc cleanup. 2006-09-30 20:14:53 +00:00
elad
b8a339347f Implement the "device" scope.
It uses an authorization wrapper per device class on the system to
ensure type-safety.

For now, it supports only terminal (TTY) devices, and has two actions
for them: "open terminal" and "privileged set". Sample usage has been
added to i386 and hp300 code for reference.

Update documentation.
2006-09-30 20:05:57 +00:00
bjh21
e9030bd381 Move over to using the standard ARM bus_space implementation on acorn26.
This is more flexible than the old acorn26 bus_space, which means that single
read/write operations are slower, but multi and region operations have the
potential to be faster, and particularly insane podules might be supportable.
In theory the acorn32 mainbus and podulebus code ought to be shareable, but
acorn26 needs the extra overhead of saving R14_svc on some operations so
I've made my own version for now.  Also the acorn32 bus_spaces are a mess.
2006-09-30 16:30:10 +00:00
manu
172675f3db Reuse existing code for closing IKE sockets, and avoid screwing things by
setting p->sock = -1, which is not expected (Coverity 4173).
2006-09-30 16:14:18 +00:00
yamt
7e4975c5e3 don't use japanese for an identifier. 2006-09-30 16:14:00 +00:00
yamt
606f2d8add wrap a long line. 2006-09-30 16:01:19 +00:00
itohy
f87d591722 A little effort against kernel bloat....
Exclude ATA DMA support if no ATA DMA capable drivers are compiled in.
2006-09-30 15:56:17 +00:00
yamt
883278d33e whitespace. 2006-09-30 15:52:39 +00:00
manu
d5f44674f8 Do not free id and key, as they are used later 2006-09-30 15:51:42 +00:00
tsutsui
8e1de5f3ab Unmap pmap region in bus_mapout() as well as sun3/sun3/bus_subr.c does. 2006-09-30 15:49:30 +00:00
yamt
04a8266e88 add ubc window hit/miss evcnts. 2006-09-30 15:38:06 +00:00
yamt
7e1b20a4cf ubc_fault: check UVM_OBJ_NEEDS_WRITEFAULT.
fix an assertion failure in genfs_putpages when using msdosfs.
(http://mail-index.NetBSD.org/tech-kern/2006/09/27/0002.html)
reported and tested by Darrin B.Jewell.
2006-09-30 15:37:22 +00:00
bjh21
213f273e6a Calls to bus_space_barrier() on acorn26 were very few and using constants that
were two generations obsolete.  Since they do nothing anyway, remove them
rather than trying to update them.
2006-09-30 15:14:21 +00:00
yamt
a1810bc6fe yamt-splraiseipl: landisk, pdp10 2006-09-30 14:19:20 +00:00
tsutsui
5237db51b1 Update a comment and some cosmetics. 2006-09-30 13:57:00 +00:00
tsutsui
13be5e3419 cosmetics 2006-09-30 13:54:53 +00:00
tsutsui
68219aadd9 - move m68k common stuff from files.sun2 to files.sun68k
- use common dev/sun/disksubr.c
2006-09-30 13:43:08 +00:00
tsutsui
aa54c659e7 Move declarations of mainbus_dma_tag and mainbus_space_tag
to <sun68k/autoconf.h>.
2006-09-30 13:37:32 +00:00
yamt
736aff4e32 yamt-splraiseipl: hpcsh 2006-09-30 12:58:31 +00:00
elad
5ec8c535f2 PR/34648: Nino Dehne: Kernel panic when using NFS root and configuring an
interface that needs firmware

Firmload routines were using FSCRED, which in this case would get to the
NFS code and dereferenced, resulting in a panic. Use the credentials from
the LWP instead.
2006-09-30 12:47:32 +00:00
yamt
11ac1566d0 - KERNEL_LOCK_ASSERT_LOCKED: check cpu_biglock_count as well.
- implement KERNEL_LOCK_ASSERT_UNLOCKED.
2006-09-30 11:59:37 +00:00
yamt
3606cbeb14 constify ttydefchars. 2006-09-30 11:58:44 +00:00