sato
86f2021f79
access GIUIOSEL_REG and GIUINTEN_REG
...
only if these registers are not GIU_NO_REG_W.
2002-02-09 15:00:40 +00:00
takemura
6929f9f471
Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
...
port before auto configuration.
Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
2002-02-02 10:50:08 +00:00
uch
7d17099353
clean up debug print and configuration.
2002-01-29 18:53:01 +00:00
takemura
a0584b29ab
Added vripif.
2002-01-27 14:18:11 +00:00
takemura
e8088a8f99
Straightened vripvar.h
2002-01-26 10:50:43 +00:00
takemura
37728140db
Added debugging output indicating details of interrupt register setting.
2001-12-29 05:15:32 +00:00
takemura
3c28255e30
BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
...
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
uch
961880b501
ANSIfy, KNF.
2001-09-16 05:32:18 +00:00
sato
a18f21f23e
VR4131 have same restriction as VR4122.
2001-09-07 16:04:03 +00:00
enami
6ae30e0e6e
Don't touch GIU{USE,TERM}UPDN_REG_W if ONLY_VR4122 is defined.
...
XXX ... for now. better way is needed.
2001-05-18 01:41:39 +00:00
shin
6fbde674dd
don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>.
2001-05-09 11:57:05 +00:00
takemura
54d9a46bbc
Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
2001-05-06 14:25:15 +00:00
takemura
a8304325bf
Fix 'busname' to attach nodes correctly.
2001-05-01 00:25:16 +00:00
takemura
26b0905dd0
Machine independent GPIO interface.
2001-04-30 11:42:17 +00:00
sato
a797d869ed
dump io setting: DPRINTF->VPRINTF
2001-04-21 10:32:38 +00:00
sato
12a0a0a537
- support VR4122 vrip register map.
...
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
2001-04-18 11:07:26 +00:00
sato
4b9ae225e0
-rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:10:05 +00:00
sato
af1dcf13da
flash led when intrrupt.
2000-10-03 03:16:16 +00:00
sato
eb2da98d92
#include <sys/reboot.h> would probably suffice for those.
2000-09-25 09:03:32 +00:00
sato
1efb55d0b4
- add debug/verbose functions.
2000-09-25 03:47:37 +00:00
sato
5125b04184
- can compile these files.
...
#include <sys/boot_flag.h>
2000-09-25 01:56:56 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
deberg
23f2392b19
don't define TAILQ_FOREACH, it's in sys/queue.h now.
2000-07-20 03:44:46 +00:00
sato
c1f0f12753
- hpcmips_verbose
...
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
2000-04-03 03:39:58 +00:00
sato
16d7136b4c
change about debug print.
...
CVS
2000-03-14 08:26:42 +00:00
shin
53cff1c1e5
fix typo.
2000-03-11 09:11:33 +00:00
sato
67e7cb40b1
fix print message when #undef VRGIUDEBUG and change a little.
2000-03-10 09:05:01 +00:00
sato
7a91879a6d
delete warning.
2000-02-22 04:11:24 +00:00
sato
674bb73d1e
- fix using uninitialized argument of bitdisp64().
2000-01-27 06:23:05 +00:00
takemura
98a2a24647
New button handler and power controller with configurable hooking mechanism.
1999-12-23 06:26:08 +00:00
takemura
19a5b325f3
Print input/output/interrupt settings.
1999-12-04 10:15:34 +00:00
uch
2cf4f4b9b6
Clear interrupt status before dispatch handler.
1999-11-07 14:07:50 +00:00
takemura
db2b0adebd
Import NetBSD/hpcmips source files from hpcmips repository.
...
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00