Commit Graph

206846 Commits

Author SHA1 Message Date
christos
fd091bf3da Sync the disklabel fstype info with the wedge partition info.
From now on these will stay synchronized because if they don't
getfstypeinfo will not compile.
2011-11-13 22:07:00 +00:00
christos
17c5859747 add getdiskinfo a companion utility to getdisksize. 2011-11-13 22:05:58 +00:00
christos
29c49ee745 use getfstypename 2011-11-13 22:04:51 +00:00
christos
da80e3ab34 add manual page 2011-11-13 22:03:34 +00:00
christos
80b0f3a562 getfstypename addition 2011-11-13 21:57:14 +00:00
christos
fb75d15e0f Add a function to convert from a disklabel p_fstype integer to a
dkw_ptype name.
2011-11-13 21:56:53 +00:00
wiz
f4eb12076c add dircategory/direntry for vi, so texinfo stops complaining 2011-11-13 19:53:53 +00:00
wiz
7405dbf494 Fix a few typos and Xrefs, use Dq, comment out Xr to non-existent gpioattach(4),
sort SEE ALSO.
2011-11-13 19:31:05 +00:00
christos
3aa8e3d303 use getdisksize, M_ZERO, and malloc M_WAITOK doesn't fai. 2011-11-13 18:29:08 +00:00
dholland
9851fd89b4 Fix xref to the PSD; PR 45568 from Petri Laakso. 2011-11-13 18:18:35 +00:00
dholland
0b69cddad2 Avoid panic on error path, from PR 45607. The error path is exercised
because this is using DIOCGPART to get the volume size, which doesn't
work on wedges. It should be calling getdisksize() instead.
2011-11-13 17:22:51 +00:00
mbalmer
f735fe77b9 Bring up to reality. 2011-11-13 17:00:04 +00:00
mbalmer
afd38e42d9 Remove an unused constant. 2011-11-13 16:56:15 +00:00
phx
eeb50b3333 Add DS-106j. 2011-11-13 16:22:18 +00:00
tsutsui
2556fadeae Read-modify-write instead of read-modify-read. (not sure if this was fatal) 2011-11-13 15:57:57 +00:00
dholland
78108b8ccc Split up excessively large main().
Fix -d behavior to match documentation.
2011-11-13 15:42:35 +00:00
dholland
26b9d6b1f1 Cleanup for edquota.
Factor out common malloc and linked list code. Distinguish lists of
quota info from single records.
2011-11-13 15:41:34 +00:00
christos
b9c2e08099 make use we don't touch memory past the end of the buffer. Pointed out
by tnozaki.
2011-11-13 15:24:04 +00:00
mbalmer
5d1027619d Fix a "lonely name". 2011-11-13 14:39:42 +00:00
tsutsui
003722c716 Note NetBSD/luna68k LUNA-II support. 2011-11-13 14:39:02 +00:00
mbalmer
092935d865 Remove an unused variable. 2011-11-13 14:02:01 +00:00
mbalmer
6e210c20d3 Remove software pulsing. 2011-11-13 13:37:24 +00:00
mbalmer
a2091c8232 Remove software pulsing in gpio(4), this functionality is now provided
by the gpiopwm(4) driver.
2011-11-13 13:20:02 +00:00
mbalmer
0826f67b74 On detach, set the pin to low state. 2011-11-13 13:16:33 +00:00
mbalmer
c668574f04 Add gpiopwm(4). 2011-11-13 12:47:54 +00:00
mbalmer
2b7e7be22d Add commented out entry for gpiopwm(4). 2011-11-13 12:46:40 +00:00
mbalmer
29e0bcb44b Note gpiopwm(4) addition. 2011-11-13 12:44:18 +00:00
mbalmer
c70f5944c6 Add documentation for gpiopwm(4). 2011-11-13 12:35:40 +00:00
mbalmer
d4bc0f70c1 gpiopwm(4) is a driver to pulse GPIO pins in software. This obsoletes
the software pulsing facilities in gpio(4) (and gpioctl(8)) which will
later be removed.
2011-11-13 12:33:00 +00:00
mbalmer
f660603483 Start numbering pions with 0, not 1. Ruined a demo, so it was a bad idea. 2011-11-13 09:46:11 +00:00
mbalmer
1399980869 Enable nsclpcsio and gpio devices. 2011-11-13 09:41:46 +00:00
mbalmer
4d3e3d4418 Pickup NGPIO. 2011-11-13 09:17:56 +00:00
mrg
c09a267949 set panicstr to "reboot forced via kernel debugger" when rebooting
from ddb, similar to how sync from ddb works.

this avoids various asserts and other issues during ddb reboot.
2011-11-13 03:21:51 +00:00
christos
cff1dac372 if you are going to dereference a variable, check the variable itself, not
it cousin.
2011-11-13 02:10:40 +00:00
phx
1c9e391710 Make the chipfix() functions return void instead of int, as the return
value is useless. Suggested by nisimura.
2011-11-13 00:06:54 +00:00
phx
7feb223452 Add Iomega support (init, reboot, poweroff).
Make new sysctl-nodes for Iomega fan control in machdep.satmgr.
2011-11-12 23:57:55 +00:00
phx
096b4f18de Improved Iomega microcontroller support. Bumped version to 1.8. 2011-11-12 23:52:54 +00:00
riz
bc636e4a7b Add /usr/tests/examples/Atffile to fix the build. 2011-11-12 19:39:01 +00:00
phx
55277ecd82 Add support for IT821x IDE. 2011-11-12 16:56:12 +00:00
mbalmer
55c6b7f708 Second part of typo fixing cycle... 2011-11-12 16:34:03 +00:00
mbalmer
2f3d365a23 Fix typo. 2011-11-12 15:44:36 +00:00
jakllsch
dacb12f218 Make a comment consistent with the code. 2011-11-12 14:51:41 +00:00
tsutsui
460c94cc06 Finally complete LUNA-II support, after almost 12 years since
initial import of NetBSD/luna68k.

Note a working LUNA-II machine was found and provided by OMRON guys
after LUNA demonstration at Open Source Conference 2011 Kansai @ Kyoto:
http://mail-index.NetBSD.org/source-changes/2011/07/16/msg024675.html
and this resurrected LUNA-II which runs NetBSD/luna68k -current with Xserver
was also demonstrated on the NetBSD booth at Kansai Open Source 2011:
http://www.NetBSD.org/gallery/events.html#kansai-os-jp-2011

It's really pleasure to meet many OMRON LUNA developers and LUNA users
at the NetBSD booth.  Thank you everyone!


Changes details:

luna68k/luna68k/locore.s
 - don't use 68030 specific pflusha instruction in 68040 initialization path
 - use TBIA() to invalidate TLB instead of 68030's pflusha
   after MMU is turned on (as hp300 does)
   (these two bugs are fatal at early bootstrap)
 - pull loadustp() fixes from hp300/locore.s rev 1.82
   (more flush ops are required in it otherwise causes random coredumps)
 - specify correct %tt1 mask value
   (the mask value means actually bit mask, not transparent range)

luna68k/luna68k/machdep.c
 - use proper delay_divisor for 68040 25MHz LUNA-II

luna68k/luna68k/mainbus.c
 - prepare and use per-model mainbus device lists for mainbus_attach_args

luna68k/conf/GENERIC
luna68k/conf/INSTALL
 - enable options M68040 and FPSP
 - enable secondary spc(4) on LUNA-II

luna68k/conf/Makefile.luna68k
 - include arch/m68k/fpsp/Makefile.inc for FPSP

luna68k/dev/lcd.c
 - promote LUNA-II model on LCD

XXX: old and slow SCSI-1 drives like Hitachi DK312 seems to have
XXX: some problem with spc(4) driver, even on the original LUNA
2011-11-12 13:44:26 +00:00
sekiya
6b83ab5379 Regen. 2011-11-12 11:11:07 +00:00
sekiya
51e7e579b6 Add support for makphy 0x0029 variation found on most recent Globalscale Dreamplug. 2011-11-12 11:10:49 +00:00
nonaka
98b5013301 SL-C700 has PXA250 step B instead of PXA250 step A. 2011-11-12 04:39:19 +00:00
christos
fa19104dd8 compare the sed we just build with the installed one instead of bogus
paths.
2011-11-12 03:15:05 +00:00
jmmv
9e49f3e3eb Mention the addition of the asm examples. 2011-11-12 01:22:07 +00:00
jmmv
2cd463aa6d Register the new asm examples and their tests. 2011-11-12 01:20:05 +00:00
jmmv
ccfedeb2ca Register directories for the new asm examples and their tests. 2011-11-12 01:19:40 +00:00