Commit Graph

130654 Commits

Author SHA1 Message Date
thorpej
dbb3225d5b Can't actually auto-discover wedges here yet, because ed drives are
not attached with interrupts enabled, meaning we can't do the required
I/O.  Add a comment to this effect.
2004-09-25 16:13:42 +00:00
tsutsui
10aeb7cff9 I'll handle spc(4) SCSI. 2004-09-25 12:50:26 +00:00
tsutsui
590f5e8609 Update port-maintainers. 2004-09-25 12:47:52 +00:00
wiz
76b7f3faf9 Improve formatting. 2004-09-25 12:44:25 +00:00
tsutsui
2e988c7c99 - spc is now MI.
- Remove obsolete hp300 devices.
2004-09-25 12:31:19 +00:00
lukem
7184648d82 Try nsdispatch "getgrouplist" before iterating the getgrent() list.
Implement a dns (hesiod) backend which tries a grplist hesiod lookup.
Convert back to using getgrent() similar to rev 1.15, instead of
using the private _getgrent_user() from getgrent.c.
2004-09-25 12:27:35 +00:00
he
48936f8f33 Add another set of braces in initialization to track factoring out
of MI cpu_data.
2004-09-25 12:24:53 +00:00
tsutsui
036acd9295 Use ANSI function decls. 2004-09-25 11:58:19 +00:00
yamt
7c63ceab48 don't expose cpu_info and friends to userland. 2004-09-25 11:08:47 +00:00
tsutsui
a5c60861e8 Sprinkle DELAY(1)'s in several busy loops to avoid excessive bus access.
Inspired by OpenBSD.
2004-09-25 10:47:29 +00:00
tsutsui
30e4125256 On manual xfer via TEMP register, set PCTL_BFINT_ENAB and check
bus free by INTS register. spc_intr() also checks the INTS_DISCON bit.
2004-09-25 10:36:15 +00:00
tsutsui
45d871e0fb In spc_intr(), return 0 if the interrupt is not for spc(4). 2004-09-25 10:32:15 +00:00
tsutsui
dc28263470 Use manual xfer via TEMP register in status phase even on x68k.
Some devices do not transfer data with proper way on status phase
and it causes bus error in spc_datain_pio() which uses auto xfer
via DREG register on weird x68k hardware.
2004-09-25 10:15:36 +00:00
tsutsui
ae6239f109 Use ANSI function decls. 2004-09-25 09:46:17 +00:00
heas
afe3b1d559 Add TWE_OP_PROBE, which probes (and attaches) a port/drive. It's argument
is bytes 9 & 10 of the twe_cmd where the bit set corresponds to the port to
probe + 1 (ie: port 0 == 0x1).
2004-09-25 08:27:47 +00:00
christos
f42653853a Put back issetugid() check for hostaliases.
XXX: this is suboptimal, It would be better if we propelry checked
for access.
2004-09-25 05:33:01 +00:00
thorpej
281037afd6 Add support for wedges to the OpenFirmware disk driver. 2004-09-25 05:21:03 +00:00
thorpej
2a671cfd0e Add support for wedges to the MCA ESDI disk driver. 2004-09-25 04:47:02 +00:00
thorpej
46cfcf0eb8 Add support for wedges to the logical disk driver. 2004-09-25 04:28:08 +00:00
yamt
49fe2034a3 uvm_map_printit:
- print wired_count if available.
- fix a printf format.
2004-09-25 04:19:38 +00:00
thorpej
72b84bf041 Add support for wedges to the SCSI disk driver. 2004-09-25 04:11:23 +00:00
snj
b7fd6fcc52 Bump date for last. 2004-09-25 04:00:49 +00:00
thorpej
cc79c7aeb0 Add support for wedges to the ATA disk driver. 2004-09-25 03:34:02 +00:00
thorpej
ef92b0de59 Try the DIOCGWEDGEINFO ioctl first. If that succeeds (i.e. the block
device is a wedge), use the partition type string from the dkwedge_info
structure to get the file system type.
2004-09-25 03:32:52 +00:00
thorpej
0e37eeed2c Add commands to create, delete, and query the configuration of wedges. 2004-09-25 03:31:35 +00:00
thorpej
baefaf4422 Work-in-progress implementation of "wedges", a new way to represent
partitions in the NetBSD kernel.  See discussion on tech-kern for details.
2004-09-25 03:30:44 +00:00
thorpej
f9684c51b5 Definitions for the EFI GUID Partition Table partition table format.
From FreeBSD.
2004-09-25 03:29:32 +00:00
yamt
17dfcbf73e fix a typo in a comment. 2004-09-25 03:05:23 +00:00
lukem
0b757c12fd ANSI KNF 2004-09-25 02:55:25 +00:00
wiz
d35635608b Fix typo in hp700 man page name, reported by Hisashi T Fujinaka. 2004-09-24 18:22:40 +00:00
nathanw
3a5631a0b6 PXA255 has 85 GPIO pins, not 81.
(The first revision of the manual listed the wrong number, although it had
 all 85 in the table).
2004-09-24 17:30:22 +00:00
wiz
0209c3cfba Add sti(4) and the new hp700 man(4) pages. 2004-09-24 13:50:06 +00:00
wiz
177b99eda2 Install sti(4) and descend into man4.hp700. 2004-09-24 13:49:50 +00:00
wiz
925099bfb3 Add /usr/share/man/{cat,man,html}4/hp700. 2004-09-24 13:48:51 +00:00
wiz
d355f71bc3 Dig {cat,man,html}4/hp700. 2004-09-24 13:47:46 +00:00
he
9f596d4761 Since the implementation of bsd_to_linux_statfs64() is conditional,
also make the forward declaration conditional.  Fixes compile
problem for m68k ports.
2004-09-24 13:10:46 +00:00
yamt
43a9ac14d6 __UNCONST: add parens around a macro argument. 2004-09-23 22:13:40 +00:00
tshiozak
922c0d0065 add system dependent strings support.
this hopefully allows to use .mo files generated by gettext-0.12 or later.
2004-09-23 21:35:27 +00:00
tron
ce2c46e673 Because "paddr_t" is not a pointer type initialize "pa" to 0 and not NULL. 2004-09-23 21:30:36 +00:00
tron
bcb61538fb Initialize variable "pa" to NULL in pmap_extract() to fix a compiler
error while building a debug kernel. Problem pointed out by S.P.Zeidler
on "port-amiga" mailing list.
2004-09-23 21:10:31 +00:00
yamt
139aa9db9e a little safer impl of __UNCONST, using __typeof__ if __GNUC__. 2004-09-23 17:40:16 +00:00
tshiozak
29be49b448 - add hash table support.
- make use of __UNCONST() instead of LINTED.
2004-09-23 16:44:26 +00:00
tsutsui
ef820af6db Rename if_mec_mace.c -> if_mec.c.
This file contains not only an attachment but whole driver functions.
2004-09-23 14:45:20 +00:00
he
ce985b87e9 Add sys/cpu_data.h and sys/cc_microtime.h. 2004-09-23 12:54:58 +00:00
yamt
ac65f2420a nfs_readdirplusrpc: fix spurious EBUSYs. 2004-09-23 10:46:44 +00:00
yamt
832a9b868e release kernel lock in uiomove(). 2004-09-23 10:45:08 +00:00
he
f42ec45764 Install the new cpu_info.h and cc_microtime.h headers to allow
lib/libkvm to build.
2004-09-23 10:06:21 +00:00
tls
849c42925b Changes from Christian Limpach to improve timekeeping on NetBSD/xen by
actually adjusting the time correctly (calling hardclock as needed, not
just blindly every time Xen schedules us) based on Xen's idea of the
time in the shared page.

Xen source repo change info:
 ChangeSet
   2004/09/22 13:47:22+01:00 cl349@freefall.cl.cam.ac.uk
   Fix time.

 netbsd-2.0-xen-sparse/sys/arch/xen/xen/clock.c
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +28 -3
   Don't call hardclock on spurious timer interrupt and call hardclock
   for missed interrupts.

 netbsd-2.0-xen-sparse/sys/arch/xen/conf/XEN
   2004/09/22 13:47:21+01:00 cl349@freefall.cl.cam.ac.uk +0 -1
   Don't need custom HZ value any longer.

: ----------------------------------------------------------------------
2004-09-23 02:24:22 +00:00
heas
9d64f3ebc8 Take the modulus of the AEN queue tail number rather than the mask of. Now
the tail pointer advances properly.
2004-09-23 01:16:34 +00:00
heas
ad8109e2b5 Typo in define; PhysSectorNym -> PhysSectorNum 2004-09-23 01:14:50 +00:00