apb
280f9669d3
* Move duplicated code into a check_pax function, and improve the test
...
for whether pax is likely to be usable.
* Don't try to create an mfs with fewer than 10 inodes.
* Add a missing exit in an error case.
2007-12-11 11:51:19 +00:00
lukem
e3899b9e67
NetBSD RCSID love
2007-12-11 11:48:40 +00:00
lukem
38398f2570
use __KERNEL_RCSID()
2007-12-11 11:38:15 +00:00
lukem
388339aa58
use __KERNEL_RCSID()
2007-12-11 11:25:46 +00:00
elad
98c50c91dd
Add TAILQ_CONCAT() and STAILQ_CONCAT(), from FreeBSD.
2007-12-11 11:24:21 +00:00
lukem
afb2a5863e
use __KERNEL_RCSID()
2007-12-11 11:17:30 +00:00
martin
6cdfaa0c8f
As a stopgap fix: disable a pci_conf_ access at offset 0x82 on archs
...
that would mind ;-) IMHO this access violates the PCI spec, so this
should be solved differently.
2007-12-11 11:11:22 +00:00
lukem
a0dda790c5
use __KERNEL_RCSID()
2007-12-11 11:08:19 +00:00
apb
c1da1584c4
Pass "-pe" flag to pax, otherwise the devices get created with
...
permissions modified by the umask.
2007-12-11 10:02:24 +00:00
dogcow
1098fc279b
add #include for missing typedefs
2007-12-11 09:26:11 +00:00
agc
755a2e55e0
Move to a resizable dynamic array for the targets that the initiator
...
can find.
If the initiator discovers too many targets for it to handle
(currently more than 16), then truncate to the maximum with a loud
warning message, rather than aborting.
In practice, this means that multiple targets can now be used with the
NetBSD iSCSI initiator.
% ls -laR /mnt/inspiron1300.wherever.co.uk/
total 192
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 .
drwxr-xr-x 2 root wheel 0 Jan 1 1970 ..
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 target0
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 target1
/mnt/inspiron1300.wherever.co.uk/target0:
total 576
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 .
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 ..
lrw-r--r-- 1 agc agc 44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r-- 1 agc agc 9 Dec 11 08:53 ip -> 10.4.0.42
lrw-r--r-- 1 agc agc 16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r-- 1 agc agc 104857600 Dec 11 08:53 storage
lrw-r--r-- 1 agc agc 43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target0
lrw-r--r-- 1 agc agc 8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r-- 1 agc agc 4 Dec 11 08:53 version -> 0
/mnt/inspiron1300.wherever.co.uk/target1:
total 576
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 .
drwxr-xr-x 2 agc agc 512 Dec 11 08:53 ..
lrw-r--r-- 1 agc agc 44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r-- 1 agc agc 0 Dec 11 08:53 ip ->
lrw-r--r-- 1 agc agc 16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r-- 1 agc agc 52428800 Dec 11 08:53 storage
lrw-r--r-- 1 agc agc 43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target1
lrw-r--r-- 1 agc agc 8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r-- 1 agc agc 4 Dec 11 08:53 version -> 0
%
2007-12-11 09:07:36 +00:00
martin
57f85d1876
Make sure the compiler does not reorder stores accross spl...() calls
...
[or, for completeness, calls changing the processor state]. The mutex
code has small race windows otherwise.
2007-12-11 08:59:57 +00:00
agc
75a8f5acf1
Bump the number of targets that the initiator can handle to 16 (from 1).
2007-12-11 08:49:12 +00:00
cube
d97f33f6eb
Regen syscall tables for mach binary compatibility. Per request from dsl@.
2007-12-11 08:06:46 +00:00
dsl
a5766b890b
Include mach_syscallargs.h to (hopefully) get MACH_SYS_MAXSYSARGS.
2007-12-11 08:06:16 +00:00
jnemeth
02af069558
update URLs
2007-12-11 07:47:44 +00:00
lukem
3290dbb81a
use __KERNEL_RCSID()
2007-12-11 05:38:12 +00:00
nisimura
0edee75daa
- have machine/cpu.h and sys/device.h references here.
2007-12-11 05:32:12 +00:00
lukem
efbfd27b57
use __KERNEL_RCSID()
2007-12-11 05:20:33 +00:00
nisimura
f45e56dfd5
- more arrangement to have minimal devices for init) and ramdisk) cases.
...
- make sure to have four tty[00-03] and assign 115200bps for the first.
2007-12-11 05:05:16 +00:00
nisimura
d1ce7e7621
- switch to use majors.powerpc.
2007-12-11 05:01:21 +00:00
lukem
6c9202e6d8
Use __KERNEL_RCSID() instead of vendor RCS or SCCS IDs.
2007-12-11 04:55:00 +00:00
jmcneill
9313b4bcb3
Disable apm@acpi on amd64, since we don't create /dev/apmctl, build apmd,
...
or provide machine/apmvar.h. Ok ad@
2007-12-11 04:22:46 +00:00
jmcneill
8eeb638b73
Register with pmf
2007-12-11 03:45:57 +00:00
lukem
49c8589969
Also escape $Header tags.
2007-12-11 03:34:59 +00:00
ad
5a5d5865cd
Remove test of pthread__osrev that is no longer needed.
2007-12-11 03:21:30 +00:00
jnemeth
3c979da1e6
- grammar
...
- correct list of sets to put on tape
2007-12-11 02:38:33 +00:00
jnemeth
ce4230990b
update numeric addresses of ftp.netbsd.org
2007-12-11 02:28:42 +00:00
jmcneill
f2fa8d82cf
Make this compile again.
2007-12-11 02:02:31 +00:00
oster
7f102f3ada
Use CFATTACH_DECL_NEW instead of CFATTACH_DECL... ICB wisdom
...
is that this will fix the config_devalloc panic.
2007-12-11 01:54:46 +00:00
jmcneill
eded1e0324
Disable the wd_suspend power handler on the proper branch, workaround for
...
kern/37508
2007-12-11 01:52:18 +00:00
christos
f84222f6f6
fix usage to say we can take multiple files.
2007-12-11 01:40:27 +00:00
jmcneill
4d6cb5af6b
Use PRI_NONE for the event workqueue.
2007-12-11 01:20:06 +00:00
jmcneill
5bd9c210ef
Use malloc/free instead of kmem_alloc/kmem_free in pmf_event_inject, since
...
the latter is not safe to use from a softint. Pointed out by rmind.
2007-12-11 01:00:45 +00:00
martin
f40133bd10
const'ify ad1848 devmap.
2007-12-11 00:21:51 +00:00
martin
2ce2127701
When collecting mixer values while suspending, initialize the number
...
of channels from the mixer device info. Fixes PR kern/37512.
OK: jmcneill
2007-12-11 00:08:14 +00:00
dyoung
537fc55662
Add a todo item: read files from multiple directories.
2007-12-10 23:54:35 +00:00
xtraeme
947675b6c4
Remove useless returns at the end of void functions.
2007-12-10 23:50:25 +00:00
xtraeme
0cd3ab0981
Register to the pmf(9) framework and fix an error path.
2007-12-10 23:25:59 +00:00
agc
87c66df218
Remove a debug printf from the initiator code now that we have a real
...
discovery mode in the initiator.
2007-12-10 23:06:45 +00:00
reinoud
3a44e8ad9d
Add missing \n and remove surplus .
2007-12-10 22:56:29 +00:00
dsl
be33a1a204
Increase the maximum number of syscall args.
...
sys_mach_sys_msg_overwrite_trap() has been overwriting stack!
2007-12-10 22:32:15 +00:00
dsl
380984af81
Use MACH_SYS_MAXSYSARGS for the syscall args array, don't hardcode 8.
2007-12-10 22:28:45 +00:00
ad
d0e415a936
GENERIC is good enough.
2007-12-10 22:27:46 +00:00
ad
8218ef4d43
Real hardware has been available for a long time now!
2007-12-10 21:48:20 +00:00
ad
eb83663daa
softint_establish: hack around CPU_INFO_FOREACH() not working before
...
configure() on some architectures.
2007-12-10 20:43:43 +00:00
elad
9725bcfd97
- Use KAUTH_ARG() instead of casts,
...
- Don't ignore return value of settime() in sysctl_kern_rtc_offset(), as
suggested by yamt@.
Note: the kauth(9) call in sysctl_kern_rtc_offset() is bogus, but this will
be addressed separately.
2007-12-10 18:58:02 +00:00
garbled
05fd0d9547
Switch ofppc to the unified powerpc majors file. This should make single
...
user mode work.
2007-12-10 18:19:45 +00:00
garbled
f17dca7877
New MAKEDEV.conf for ofppc. Based on the unified powerpc majors file.
...
This can probably be simply copied to any port using the unified majors.
2007-12-10 18:17:48 +00:00
garbled
12d0909e08
Change to deal with the shared powerpc majors file, copied from the arm32
...
handling.
2007-12-10 17:57:24 +00:00