Commit Graph

203104 Commits

Author SHA1 Message Date
tsutsui
bf2202e183 Revive NetBSD/luna68k.
Even after almost a lost decade since NetBSD/luna68k was
switched to using ELF format by default back in 2001,
actually only one fix (bus.h) is required for a GENERIC kernel itself
to get multiuser login: prompt on a real hardware.  Hurrahhh!!!

Demonstrated with a working Xorg mono server on the NetBSD booth
at Open Source Conference 2011 Kansai @ Kyoto:
 http://www.ospn.jp/osc2011-kyoto/

"Very impressed," commented by Tomoko YOSHIDA,
Program Committee Chair of the Conference,
and some other OMRON guys.

Special Thanks to Tadashi Okamura, for providing
a working SX-9100/DT "LUNA" for this mission.


Changes details:

sys/arch/luna68k/include/bus.h
 - handle stride properly even on multi and region ops for MI spc(4)
 - also fix stride handling of (currently unused) 2 and 4 byte ops

sys/arch/luna68k/conf/Makefile.luna68k
sys/arch/luna68k/conf/kern.ldscript.head
sys/arch/luna68k/conf/kern.ldscript.tail
 - build a faked a.out kernel using elf2aout(8) tool
   and a linker script derived from cats and shark
   for the LUNA firmware that loads a.out binary directly
   via network or from a UNIOS partition on a local disk

sys/arch/luna68k/dev/omrasops.c
sys/arch/luna68k/dev/omron_rfont.h
 - use the original OMRON font derived from 4.4BSD-Lite/luna68k
   rather than gallant19 which is used on Sun workstations
   (XXX omrasops.c should be rewritten to use generic wsfont(4))

distrib/luna68k/*
distrib/utils/sysinst/arch/luna68k/*
etc/etc.luna68k/MAKEDEV.conf
etc/etc.luna68k/Makefile.inc
sys/arch/luna68k/conf/INSTALL
 - build a ramdisk based INSTALL kernel with sysinst(8) for luna68k
 - also build an installation iso image for luna68k

sys/arch/luna68k/conf/GENERIC
 - enable SYSVSHM (and other SYSV*) options for Xorg server

More Xorg changes (which need some more cleanup) and
isiboot.c fixes will come soon.
2011-07-16 15:52:20 +00:00
tsutsui
a1f5c3dd33 Build nbm68k-elf2aout as a host tool on m68k targets
for an ancient PROM bootloader.
Mostly taken from nbmips-elf2ecoff.
2011-07-16 15:52:01 +00:00
jmcneill
07b278992f If there are CPUs associated with this thermal zone, use their names to
create the temperature sensor name:

[acpitz0]
  cpu0 temperature:    53.000  105.000   41.800                   degC
2011-07-16 15:45:24 +00:00
rmind
3127d2afb9 Initialise cpus_running to 1 on Xen, as it was done on x86.
Problem analysed by hannken@.  Fixes PR/45062.
2011-07-16 14:46:18 +00:00
jruoho
5941dd2312 Note that dup2(2) and dup3(2) may not fail with EMFILE; from PR lib/45148. 2011-07-16 14:33:33 +00:00
jruoho
ce5544e745 PR lib/45148 was fixed; remove xfail. 2011-07-16 14:29:15 +00:00
uch
6a2dbe9ae4 core symlink operation moved to v7fs_file_util.c and introduce V7FSBSD_MAXSYMLINKLEN for makefs 2011-07-16 12:35:40 +00:00
uch
f96feeccb7 export v7fs_datablock_addr for makefs 2011-07-16 12:35:32 +00:00
jmcneill
e1214af8f3 Fix a locking problem with the demux, and while here do a bit of
housekeeping and documentation.
2011-07-16 12:20:01 +00:00
nakayama
02b9edfe03 Bring some fixes and minor differences from sparc64 version. 2011-07-16 11:15:52 +00:00
dyoung
9c14481bd4 Use <sys/bus.h> not <machine/bus.h>. 2011-07-15 23:40:56 +00:00
jmcneill
6f708f8d76 add nsclpcsio module to i386 build 2011-07-15 21:08:48 +00:00
jmcneill
ac535e1004 add nsclpcsio module glue 2011-07-15 20:57:01 +00:00
jmcneill
17536f8e9e add module support 2011-07-15 20:56:26 +00:00
jmcneill
28467bc5e1 use lg3303_get_snr, lg3303_get_signal_strength 2011-07-15 20:29:58 +00:00
jmcneill
8b8276a7ab add lg3303_get_snr, lg3303_get_signal_strength, lg3303_get_ucblocks 2011-07-15 20:28:38 +00:00
jmcneill
ee71f9a61a add dtv_intlog10 implementation, from apb@ 2011-07-15 20:27:41 +00:00
cliff
51621c41af bump SYMTAB_SPACE 2011-07-15 19:41:28 +00:00
cliff
bf03074a53 More support for CFI NOR. 2011-07-15 19:37:41 +00:00
riz
4cea3314df BLOCK_SIZE->SPARC64_BLOCK_SIZE
BLOCK_ALIGN->SPARC64_BLOCK_ALIGN

XXX these values are unused in sparc;  this is merely to keep the sparc
and sparc64 versions of psl.h in sync, and to allow sparc to build again.
2011-07-15 19:30:08 +00:00
cliff
fb19d2b789 Add support for CFI NOR, using MPC8536DS as initial example.
Only AMD/Fujitsu command set is suported so far.
This is still work in progress, be advised.
2011-07-15 19:19:55 +00:00
christos
534ca6a0dd mention EINVAL. 2011-07-15 14:59:33 +00:00
christos
dc72548dbe fail with EINVAL if flags not are not O_CLOEXEC|O_NONBLOCK in pipe2(2) and
dup3(2)
2011-07-15 14:50:19 +00:00
jruoho
450530506c Fix wrong linker flag that has always been lurking here. 2011-07-15 14:00:41 +00:00
jruoho
dacd6ba8f0 Split out the -lpthread tests to a separate file.
XXX: The only thing gained from this is seeing whether -lpthread breaks
     the getenv(3) family. Yet, a strict hypothesis about this would require
     that the two test files are identical, which they are not.
2011-07-15 13:54:31 +00:00
nonaka
15689cff7d cinclude GENERIC.local 2011-07-15 13:47:12 +00:00
jmcneill
ed3b4a4855 emdtv(4): Add a driver for Empia EM28xx family USB video capture controllers. 2011-07-15 12:57:22 +00:00
jym
941517f6e2 Use a workqueue(9) to defer allocation of TX packets. Loosely inspired
from the OpenBSD bnx(4) driver.

Tested by Roger Pau Monné, roger.pau at entel.upc.edu.

Fixes kern/45051.
2011-07-15 11:29:31 +00:00
jruoho
11ee5754de Add two more naive tests. 2011-07-15 11:27:23 +00:00
jmcneill
428431c0a7 catch up to recent lg3303 changes 2011-07-15 10:48:30 +00:00
jmcneill
13e60a5238 lg3303_set_modulation: program the requested modulation on every request 2011-07-15 10:10:35 +00:00
jruoho
7f1ed5f987 Small markup edit. 2011-07-15 09:44:14 +00:00
jruoho
844c18226d Add some cases for dup2(2) and dup3(2). 2011-07-15 09:40:16 +00:00
jruoho
872b41c159 Small markup glitch. 2011-07-15 08:17:36 +00:00
he
3271be69ca Add the ibm4xx and booke modules for dtv. 2011-07-15 08:07:08 +00:00
he
242532a45b Track the changes to tulipvar.h -- use the recently introduced
tlp_chip_name() to get the chip name for aprint output.
2011-07-15 07:49:20 +00:00
jruoho
31e0c3fb7c Split the test to two contextually different tests. 2011-07-15 07:39:26 +00:00
jruoho
1ea16e5059 Rename two test files to get functional scope (and avoid confusion
with ctype(3)). No functional change.
2011-07-15 07:35:21 +00:00
apb
576d24caba Redo previous change in a better way, as suggested by mrg.
Where the original Makefile.in had this:

	filename: dependencies
		run autosomething to regenerate the file

we now do this:

	filename: dependencies
		@echo "NOT REBUILDING $@"
	NetBSD_DISABLED_filename:
		run autosomething to regenerate the file
2011-07-15 07:04:52 +00:00
jruoho
8a16de8dc8 Few naive unit tests for the getprotoent(3) family. 2011-07-15 06:41:29 +00:00
jmcneill
d1c2527458 add pcHDTV HD-5500 support:
cxdtv0 at pci0 dev 14 function 2: pcHDTV HD-5500 HDTV Video Capture (rev. 0x05)
cxdtv0: interrupting at irq 10
cxdtv0: lg3303: found @ 0x59
cxdtv0: tvpll: LG TDVS-H06xF
dtv0 at cxdtv0: CX23880 [ATSC]
2011-07-15 03:35:13 +00:00
jmcneill
389f86dedb add LG TDVS-H06xF support 2011-07-15 03:31:37 +00:00
jmcneill
f26b5f8df4 struct tvpll_data foo -> extern struct tvpll_data foo 2011-07-15 03:30:08 +00:00
jmcneill
e9f578b3d5 if no carrier, other status fields are invalid 2011-07-15 03:29:23 +00:00
jmcneill
668383289f add detach support 2011-07-15 00:21:26 +00:00
jmcneill
6f144888fd module glue for nxt2k, tvpll, cxdtv 2011-07-14 23:50:12 +00:00
jmcneill
dfd3ee6ea9 hook in lg3303 demod support and modularize 2011-07-14 23:47:45 +00:00
jmcneill
412242eb53 add a flags argument to lg3303, and use it for the caller to request
serial mpeg mode
2011-07-14 23:46:52 +00:00
jmcneill
860478e64f add module support 2011-07-14 23:45:43 +00:00
jmcneill
b3a7bca7bf correct pll entries for TDVS-H06xF 2011-07-14 23:45:26 +00:00