Commit Graph

764 Commits

Author SHA1 Message Date
sato 86035aa9c0 dummy WSKBDIO_SETLEDS WSKBDIO_GETLEDS for wsconsctl(8) 2001-01-10 08:43:13 +00:00
martin 5d0c67c603 When adding isdn devices I forgot to check chrtoblktbl.
Fix this know for the affected archs.
2001-01-09 20:51:04 +00:00
martin f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
takemura a0a2fc0688 Implement WSMOUSEIO_SRES to control A/D port scan interval. 2001-01-08 09:50:08 +00:00
takemura e2173eff07 Add some definitions. 2001-01-07 07:29:33 +00:00
toshii 8ce2076cf5 Fix a typo in debug printf. 2001-01-06 06:01:59 +00:00
takemura 5d91708fb9 Generating workspace and project files for eMbedded Visual Tools 3.0. 2001-01-05 15:00:56 +00:00
sato 37682e5488 - print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM
when boot verbose mode.
  for debuging LCD control and/or keyboard cmds.
2001-01-05 09:09:48 +00:00
sato 78242b5fd8 - fix WSDISPLAYIO_MODE_EMUL mode redrawing.
- avoid null pointer dereference.
- clean up hpcfb_show_screen().
2001-01-05 09:04:55 +00:00
sato c381bbbf74 add missing evtype. 2001-01-04 07:55:15 +00:00
sato 58b63998c2 handle pointer type event message and scaler type event message
for CONFIG_HOOK_PMEVENT_*.
2001-01-04 07:43:37 +00:00
sato 46921fecee Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 06:07:43 +00:00
takemura d403e873db Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
2001-01-04 06:01:41 +00:00
sato 9d298fafdb adapt resent config_hook.h 2001-01-04 05:20:37 +00:00
sato 9eb0981033 re-define CONFIG_HOOK NICKNAME.
add some macros.
2001-01-04 05:16:26 +00:00
shin ce0d1ad2fe - don't ignore DEFCOPTS (Makefile.mips).
- DEFCOPTS of hpcmips is "-Os -mmemcpy" (std.hpcmips).
2001-01-04 05:13:30 +00:00
sato 3131dc2c04 make compilable. 2001-01-04 05:01:59 +00:00
enami 62f0a92d52 Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 03:03:04 +00:00
enami 596f0820de Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works. 2001-01-04 01:35:21 +00:00
sato f89afd86e1 re-disable experimental HPCFB_MULTI codes.... 2001-01-01 01:42:03 +00:00
sato 6592f8f942 notify console polling mode or not to lower level video driver.
turn polling mode when console are polling mode.
disable redrawing when not EMUL mode.
2000-12-30 01:55:24 +00:00
mycroft 2a6abdcdd6 No reason for this to be checked in any more. 2000-12-29 21:48:32 +00:00
mycroft 15deccd2a8 Add ray at pcmcia. 2000-12-29 21:47:52 +00:00
sato fdbe4057ec - use struct platid_date instead of struct vrc4172pwm_platid_param.
- delete struct vrc4172pwm_platid_param.

XXX: vrc4172pwm driver currenty not functional yet.
2000-12-29 15:54:17 +00:00
sato b8bfd0cc52 * vrc4172pwm driver
- add missing functions
- make compilabe.
2000-12-29 11:44:44 +00:00
sato 1ed5e58cb7 * implimant CONFIG_HOOK_PMEVENT_BATTERY&CONFIG_HOOK_PMEVENT_AC
based apm state transition.
- change CONFIG_HOOK_PMEVENT_BATTERY message.
XXX: currentry none send these events.
2000-12-29 08:12:08 +00:00
sato e527c3f384 add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
2000-12-28 07:10:14 +00:00
sato 6276ccbc58 - rewrite codes using new CONFIG_HOOK_SET. 2000-12-27 12:22:07 +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 dc6a141444 - rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT. 2000-12-27 12:08:03 +00:00
sato 22b3467f71 - merge CONFIG_HOOK_OUT and CONFIG_HOOK_SET and CONFIG_HOOK_POWERCONTROL
to CONFIG_HOOK_SET.
- merge CONFIG_HOOK_GET and CONFIG_HOOK_GETPOWER to CONFIG_HOOK_GET.
- merge CONFIG_HOOK_EVENT and CONFIG_HOOK_BUTTONEVENT to CONFIG_HOOK_ENENT.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET always have
  msg argument as pointer.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET use
  same event ids.
- CONFIG_HOOK_POWERCONTROL and CONFIG_HOOK_BUTTONEVENT still exist.
  i shall rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:04:02 +00:00
sato 0ebc2f12c2 fix typo. 2000-12-27 07:52:00 +00:00
sato e05cd448e3 make compilable for HPCFB_JUMP codes. 2000-12-25 10:27:28 +00:00
sato 45b32e79e8 * add iodone&font entry in struct hpcfb_accessops.
* update HPCFB_JUMP codes.
* change tvram initialization out of hpcfb_init().
* use dc_fbaddr for switching screen (for HPCFB_MULTI codes).
2000-12-25 10:09:31 +00:00
enami 6242a87506 Fix text address. 2000-12-23 07:40:51 +00:00
sato b5c2090ab0 fix MC/R530's COM0 power GPIO port number. 2000-12-22 08:43:56 +00:00
sato 496cf20c43 * update HPCFB_MULTI codes
- check malloc() return value.
- disable multi screen feature when console is serial.
  XXXX: bacause hpcfb multiscreen feature buggy in serial console.
2000-12-22 08:37:17 +00:00
sato bd50a7eb6a - re-disable HPCFB_MULTI which enabled by my mistake.
- fix hpcfb_show_screen()'s cursor drawing when HPCFB_MULTI is enabled.
2000-12-21 03:30:36 +00:00
sato b3192db26e fix sc->sc_fbconf.hf_offset calculation. 2000-12-21 03:27:15 +00:00
sato 1cf16cd23f fix some HPCFB_MULTI related bugs.
- confusing some screens.
- save/resume problem

(but HPCFB_MULTI is not stabe yet)
2000-12-20 09:35:40 +00:00
sato 9eb6b660b6 fix ICU address typos. 2000-12-20 08:05:09 +00:00
sato 45f1bffb11 fix bug hpcfb_redraw()'s argument all=1. 2000-12-20 08:04:27 +00:00
matt f048d7e84b Start using the common mips/conf/Makefile.mips 2000-12-20 04:12:42 +00:00
matt 3ea126c565 Add Aironet. 2000-12-20 03:23:55 +00:00
bouyer c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
jdolecek cacec11253 delete obsolete comment 2000-12-17 15:52:39 +00:00
sato 595779fbdc delete unused HPCFB_BSTORE codes. 2000-12-12 22:41:02 +00:00
takemura 1021bf4bf1 Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
2000-12-03 13:43:40 +00:00
takemura e7c346ccba - CRT control exists only in GC01R.
- add some symbols.
 - fix some typo.
2000-12-03 13:24:33 +00:00
takemura 94e15f37c8 Cancel previous change and revert to revision 1.35.
You can't pmap_steal_memory to allocate proc0 bacase physical memory
detection calls badaddr which needs proc0.
2000-12-03 12:57:37 +00:00
takemura e678d47b5e Add #UVMHIST line (commented out). 2000-12-03 12:29:28 +00:00
matt 825cb46de5 Revert back to a machinearch (really cputype) of mips. Put ENDIAN back. 2000-12-03 07:05:21 +00:00
sato 0f6c05e8d7 - polling battery voltage value from A/D port.
currently polling only.
  if verbose mode, kernel print A/D raw value every polling.
2000-12-02 08:35:45 +00:00
tsutsui a8fdbdec1c Remove unused pcbb() macro. 2000-12-01 17:57:43 +00:00
soren 38a44e0d8f Consistently use pmap_steal_memory() to allocate USPACE. 2000-11-27 05:57:25 +00:00
takemura 5692823cae You can map mq200 registers as well as frame buffer.
(This little change has already contains release 1.5 branch by my mistake)
2000-11-26 08:33:43 +00:00
sato b45e183988 hardware accelarate function parameters turn to dot base. 2000-11-26 06:21:16 +00:00
sato 446d4c8a9f delete not HPCFB_TVOPTIM codes. 2000-11-24 22:05:13 +00:00
sato bda86c3118 update experimental HPCFB_JUMP codes.
(but not completely yet)
2000-11-24 21:58:06 +00:00
chs c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
augustss eb9736c09a Add uscanner. 2000-11-14 19:52:04 +00:00
sato 47ee1d1c1f update vrc4172 pwm unit codes.(but not yet completly) 2000-11-11 10:08:12 +00:00
sato c8c49f7222 - vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
2000-11-11 04:42:08 +00:00
eeh c98778939f Fix tty initialization. From Arne H Juul <arnej@fast.no>. 2000-11-08 23:21:38 +00:00
eeh 5d8e9b343a Adapt to the new line discipline scheme. 2000-11-02 00:35:04 +00:00
sato b674d1f521 when apm version is not 1.0,
use APM_BATT_FLAG_XXX type value instead of APM_BATT_XXX type value.
2000-10-27 08:19:37 +00:00
sato e13d487465 - A/D converter port macro: PIUAB(n) 2000-10-27 08:13:54 +00:00
sato cbebb75a68 - add VPRINTF().
- show pwctl giu bit for verbose.
2000-10-27 08:12:18 +00:00
sato 5cf5562de3 probe message use dv_xname. 2000-10-27 08:10:32 +00:00
sato a15e59c0eb enlarge ITE8181_LCD_ON_SELF_DELAY. 2000-10-27 08:09:15 +00:00
sato 720875ffea correct comment. 2000-10-27 08:08:08 +00:00
sato 786287aac1 - add new event type: CONFIG_HOOK_SET/GET.
- add some new id in CONFIG_HOOK_PMEVENT.
2000-10-27 08:04:49 +00:00
sato b394074d8c - change constant to static variable for
ite8181 access delay parameter after lcd power on.
- ITE8181_WINCE_CMAP.
  use presetting cmap by pbsdboot.exe(temporally)
2000-10-23 09:03:31 +00:00
uch b84e48b8bd forgot to set HPCFB_ACCESS_REVERSE. 2000-10-22 12:49:27 +00:00
uch 30373f3eb1 reorder color map adequately. 2000-10-22 12:44:16 +00:00
uch fc9212e594 new I/O modules framework for TX based system. 2000-10-22 10:42:31 +00:00
uch c3ceefe48c reverse color support. 2000-10-22 10:33:01 +00:00
uch a9869a4ed5 fix comment. s/DECstation/hpcmips/ 2000-10-22 09:38:23 +00:00
takemura a2c5be7787 Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
2000-10-21 13:51:01 +00:00
takemura 5e9e3fbf13 Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
The version gets 1.16.2.
2000-10-21 09:03:57 +00:00
takemura 64e4d7108e Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'. 2000-10-21 07:30:34 +00:00
takemura 9154a8ec27 BUGFIX: PCKBD_LAYOUT had not been effective. 2000-10-21 07:27:41 +00:00
takemura 0b805455eb Swap reft and light key. 2000-10-19 01:08:15 +00:00
sato d9781d7eb9 add new keyword "initvalue" on pwctl device.
if "initvalue 0", set the port initialy "off".
if "initvalue 1", set the port initialy "on".
otherwise keep initial value.
2000-10-17 11:37:20 +00:00
sato 59c8220584 DEBUG_FIND_COMPORT code. (by ngc@ff.iij4u.or.jp) 2000-10-16 03:32:44 +00:00
cgd 59706f1322 clean up and consistency for CP0 Count, Compare, Wired, and Config
access function names and prototypes.
2000-10-05 02:36:44 +00:00
uch 478ab76ca3 experimental power management support for TX3912/TX3922 based model. 2000-10-04 13:53:54 +00:00
sato 832204750a fix mistake of sigmarion cmdmap. 2000-10-04 03:31:14 +00:00
sato af1dcf13da flash led when intrrupt. 2000-10-03 03:16:16 +00:00
sato c419b94c00 vr41xx LED unit driver. 2000-10-03 03:13:04 +00:00
sato ca7374c959 add POWERCONTROL_LED.
add PMEVENT_AC, PMEVENT_BATTERY.
2000-10-03 03:08:33 +00:00
sato ee8000c4ad check NBIVIDEO. 2000-10-02 04:15:51 +00:00
sato 3c83f44fa3 experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
  Because some devices(include ite8181) confuse after LCD power turn on.
  WorkPad z50 power unit seem to be very weak
2000-10-02 04:14:59 +00:00
sato 59de160368 - DPRINTF -> VPRINTF for verbose.
- don't attach other video driver under hpcfb.
2000-10-02 04:03:06 +00:00
sato 938b01e688 experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
  Because some devices(include ite8181) confuse after LCD power turn on.
  WorkPad z50 power unit seem to be very weak,
2000-10-02 03:57:53 +00:00
sato a50307118c add sigmarion cmdmap and use it. 2000-10-02 03:45:10 +00:00
uch f88fbde7ac don't reset RTC in tx39clock_set() 2000-10-01 18:12:04 +00:00
takemura ccac45b532 Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
2000-10-01 03:45:33 +00:00
uch 154f1e86b1 fix tx39clock_alarm_refill bug. 2000-09-28 16:18:26 +00:00
uch 0ab2301b6b hot plug support. 2000-09-27 17:32:34 +00:00
uch e1c01aff60 remove obsolete files. 2000-09-27 13:42:14 +00:00
shin d3cf7525d3 add 'options VNODE_OP_NOINLINE' to reduce size. 2000-09-27 10:22:22 +00:00
shin 6ec1be8054 apply 'hpckbd' change. 2000-09-27 10:21:23 +00:00
sato 82d4c9df0e add DoCoMo sigmarion cover button. 2000-09-27 09:32:23 +00:00
sato b1d64a728d add DoCoMo sigmarion keymap. 2000-09-27 09:30:47 +00:00
sato eb2da98d92 #include <sys/reboot.h> would probably suffice for those. 2000-09-25 09:03:32 +00:00
sato 67afa9cfe2 - when PMUINT_BATT or PMUINT_BATTINTR interrupts occured,
send CONFIG_HOOK_PMEVENT_SUSPENDREQ event.
2000-09-25 03:51:28 +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 b1f94e26ab don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +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
augustss e9a2baa2ff Grab a major # for USB scanners. 2000-09-23 04:30:08 +00:00
takemura 680c6d9cd0 Recompile pbsdboot for DoCoMo Sigmarion and NEC MC/R330.
The version number gets 1.16.1 2000.09.21.
2000-09-21 14:24:40 +00:00
takemura 454e19c166 skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165. 2000-09-21 14:17:29 +00:00
sato 2ea1ab1fbb add MC/R330.
add sigmarion.
2000-09-21 03:19:57 +00:00
sato 109c7bc1e5 regen. 2000-09-21 03:18:04 +00:00
sato d5a2a40be6 Add NEC MC/R330.
Add DoCoMo sigmarion.
2000-09-21 03:16:10 +00:00
thorpej 72a24b4eae Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.
2000-09-13 15:00:15 +00:00
sato aa96730805 bzero allocated structutre initialy. 2000-09-12 08:25:44 +00:00
takemura 83517998af fix typo in boot message. 2000-09-12 02:12:20 +00:00
sato 5bb7aeddee - delete some unused codes (but some experimental code is not deleted)
- add experimental HPCFB_JUMP code but it is not enabled.
2000-09-11 13:44:49 +00:00
sato 96f8d01088 add SPEAKER pwctl device for several machines. 2000-09-10 15:48:10 +00:00
sato 20cc493f48 add CONFIH_HOOK_POWERCONTROL_SPEAKER. 2000-09-10 15:45:47 +00:00
sato 988e123a02 - not handle CONFIG_HOOK_POWERCONTROL events because the events
handled by lower lcd/lcdlight control device.
2000-09-10 15:33:48 +00:00
sato 39556606fe handle CONFIG_HOOK_POWERCONTROL events
- PWR_SUSPEND: save giu bits values and turn "off" the values.
- PWR_RESUME: restore giu bits values.
2000-09-10 15:30:32 +00:00
takemura ed9f910cc8 Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control
process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with
WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
2000-09-10 09:39:57 +00:00
takemura 3369a78b96 Create dummy main window to resolve the problem that it can't setup color
palette correctly.
version no gets '1.16.00 2000.09.10'
2000-09-10 08:29:53 +00:00
takemura 1f41d9a644 Previous revision contains some Japanese chars by mistake.
The bootloader has been improved by Kazuma Arino.
  - dialog style main window
  - support to read compressed kernel image
  - automatic boot with timer
  - human readable configrarion file
version no gets '1.15.00 2000.08.29'
2000-09-10 08:02:13 +00:00
sato 9a5210c76d - adapt config_hook(CONFIG_HOOK_PMEVENT,..)
save cmu clock mask register and disable all clock when PWR_SUSPEND event.
  restore saved cmu clock mask register when PWR_RESUME event.
2000-09-07 03:11:11 +00:00
takemura 212b3fa9d8 The bootloader has been improved by Kazuma Arino.
- dialog style main window
  - support to read compressed kernel image
  - automatic boot with timer
  - human readable configrarion file
version no gets '1.15.00 2000.08.29'
2000-08-29 15:10:14 +00:00
sato 2a9cfc2e99 add pwctl PWCTL_LCD, PWCTL_LCDLIGHT for NEC_MCR_FORDOCOMO, NEC_MCR_500. 2000-08-27 22:56:31 +00:00
uch 97749b6bb4 don't refer cf_unit.
undef __BROKEN_CONFIG_UNIT_USAGE
2000-08-24 11:19:19 +00:00
thorpej 58e7a6954b Add spllock(). See spl(9) for details. 2000-08-22 19:46:26 +00:00
thorpej 23a7f255d4 Make sure we provide splsched() as described in spl(9). 2000-08-21 02:06:31 +00:00
thorpej a86d1f4891 Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it).  Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.

Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
2000-08-20 21:50:06 +00:00
sato d5b133164a - disable warning: add missing argument. 2000-08-18 07:33:14 +00:00
itojun 85dda25e94 move "options PULLDOWN_TEST" into sys/sys/mbuf.h (in #ifdef _KERNEL),
as it is no wthe default setting for everyone.

the reason we still use the name "PULLDOWN_TEST" while it is now default:
kame code sharing.
2000-08-13 01:31:15 +00:00
jeffs fc28236a58 Tweak printf format to compile with printf changes. 2000-08-10 08:27:54 +00:00
tv 29550fc608 kprintf -> printf format attribute 2000-08-09 16:34:25 +00:00
shin bf38a18dfc Define bus_space_*_stream_N functions as their non-stream counterparts. 2000-08-09 02:12:50 +00:00
shin 04e4950cbb detect and eliminate phantom keys. 2000-08-05 05:55:27 +00:00
takemura 537da4726d Refresh screen when the system resume. 2000-07-30 11:16:54 +00:00
takemura b5e3ec56a8 Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.) 2000-07-30 04:41:15 +00:00
takemura bb1a798cbe Move from sys/dev/apm. And rename apm -> apmdev. 2000-07-30 04:29:22 +00:00
jdolecek e25636b5da g/c RB_DFLTROOT
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
mason 4a353b5330 Moving to a default of 64 PTYs. 2000-07-27 17:53:35 +00:00
cgd b63ed164a1 convert PRID handling to use macros on an int, not bit-fields.
there's no reason to use bit-fields, and they just complexity to
the header.
2000-07-27 17:29:05 +00:00
jeffs 05587c68ae Correct typo in comment. 2000-07-25 00:11:36 +00:00
takemura 733c04149a Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
2000-07-22 08:53:33 +00:00
takemura d84cab3012 vrkiu_getc() will call over and over. but we want to see 'not implemented'
only once.
2000-07-22 08:26:00 +00:00
takemura db17c07fd3 mb_bus_space_init() had been removed accidentally when KGDB was supported.
It's need for initialize system_bus_iot.
2000-07-22 06:02:46 +00:00
takemura ecdd72f783 Overwrite color map of rasops. 2000-07-22 03:46:53 +00:00
jeffs 0e306bace6 kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
2000-07-20 21:03:36 +00:00
deberg 23f2392b19 don't define TAILQ_FOREACH, it's in sys/queue.h now. 2000-07-20 03:44:46 +00:00
jeffs 1dfa0ec96d Use cpu_intr() definition from mips/cpu.h instead of local one. 2000-07-14 18:35:38 +00:00
takemura 45b6ec5476 Experimental APM compatible power management. 2000-07-02 10:01:30 +00:00
itojun d738f90fd7 raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory.  MHLEN is too small
  already (less than 80) and there are chances for unwanted packet loss due
  to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
  (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
  extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
itojun d76ae83df8 add PULLDOWN_TEST for all the platforms.
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
shin 853a455109 enable SOFTDEP. 2000-06-29 11:42:30 +00:00
mrg 28d898391b remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:10:45 +00:00
kleink e695f72a2e Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
fvdl 1ee7d22c0b Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC. 2000-06-22 20:27:49 +00:00
shin 0e04419b62 for size reduction.
out:
	SCSIVERBOSE
	QUOTA
	ccd

we support CD-ROM drives, so CD9660 is necessary.
in:
	CD9660
2000-06-17 10:53:05 +00:00
veego 223d7455c7 Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
matt 0aa592b979 Add a table of calibrations. The MCR_500 one (640x240) makes the MCR_700A
(800x600) almost unusable.  Now the 700A has it's own.
2000-06-13 05:59:55 +00:00
matt e4a7ab9905 Add latent entry for ochi usb devices on NEC MobilePro 800. 2000-06-11 23:34:31 +00:00
soren d8e5d1fa7d Add rnd(4) glue for the MIPS3 cycle counter. 2000-06-06 02:24:00 +00:00
cgd cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
takemura 1a710b9899 Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
  - display status which indicate how much loading sequence progress.
  - add debugging log function.
2000-06-04 04:30:48 +00:00
takemura f0e427d05a Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
2000-06-03 08:00:42 +00:00
matt 9169d99f2a Don't pass booted_* to findroot/getdevice, access them via the globals.
Also, make findroot static.  This eliminates unneeded clearing of them
and make their use consistent among the ports.
2000-06-01 15:38:20 +00:00
matt c9aff328d9 Make booted_device global (and booted_parition for consitency).
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00
cgd 47449a63d2 kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:04:50 +00:00
thorpej a7d0570e67 First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

	- Global state: sched_qs (run queues), sched_whichqs (bitmap
	  of non-empty run queues), sched_slpque (sleep queues).
	  NOTE: These may collectively move into a struct schedstate
	  at some point in the future.

	- Per-CPU state, struct schedstate_percpu: spc_runtime
	  (time process on this CPU started running), spc_flags
	  (replaces struct proc's p_schedflags), and
	  spc_curpriority (usrpri of processes on this CPU).

	- Every platform must now supply a struct cpu_info and
	  a curcpu() macro.  Simplify existing cpu_info declarations
	  where appropriate.

	- All references to per-CPU scheduler state now made through
	  curcpu().  NOTE: this will likely be adjusted in the future
	  after further changes to struct proc are made.

Tested on i386 and Alpha.  Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
uch 27a7fbff47 debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
2000-05-22 17:17:44 +00:00
uch c70d727504 regen. 2000-05-22 15:05:37 +00:00
uch af2b106d9a Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries. 2000-05-22 15:03:46 +00:00
uch 817c8734c5 fix comment. 2000-05-22 07:40:41 +00:00
uch 7b768bd6e8 recognize 32MByte D-RAM. 2000-05-21 11:24:45 +00:00
uch 060197b367 Get LCD size from PLUM2 Display control register. 2000-05-21 11:22:25 +00:00
soren b70819c71a Also share BE ldscripts. 2000-05-21 02:50:10 +00:00
takemura 5e48883c49 Add NEC Mobile Pro 780/880 and Vadem Clio 1050. 2000-05-20 07:11:25 +00:00
takemura 6bef866101 Add two items:
NEC MobilePro 780 (MC/R530A)
  NEC MobilePro 880 (MC/R730A)
2000-05-20 05:08:53 +00:00
shin 405f83e99a fix platid_test source files. 2000-05-20 03:41:28 +00:00
sato 8bc2515577 fix CONFIG_HOOK_BUTTONEVENT_CANCEL keycode. 2000-05-18 03:27:22 +00:00
shin 5eacd822a1 delete undefined 'NEC_MCR_4XX'. 2000-05-17 08:38:25 +00:00
thorpej 463931b3ba Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
sato ab17e681e7 NEC MC-CS LIGHT button.
NEC MC-R430 COM0 power.
CASIO E55 COM0 power.
CASIO E55 LIGHT button.
2000-05-15 01:40:44 +00:00
shin f26b6caddd clear CPU count register interrupt properly (VR4100). 2000-05-14 03:16:11 +00:00
uch f9b83f27e9 change Telios keyboard map: KS_KP_Enter -> KS_Return 2000-05-13 20:34:13 +00:00
uch 62923b307e fix #define RGB24(r, g, b) 2000-05-13 03:12:56 +00:00
uch f02836787f fix CLUT index bug. 2000-05-12 18:09:55 +00:00
shin e38d6212b9 make it compile again with '-Werror'. 2000-05-12 04:43:21 +00:00
uch 742429ff1e #undef'ed debug routine. 2000-05-10 23:57:13 +00:00
nisimura bd91f6f2e0 Adapt mips_locoresw[]. 2000-05-10 01:36:56 +00:00
shin 8587b62f36 call uvm_pageidlezero() while CPU is idle. 2000-05-09 13:23:57 +00:00
shin 2d39542769 deal with INT_MASK_REAL_DEV removal. 2000-05-09 13:20:55 +00:00
shin 51994cb450 make it compile again (add #include's). 2000-05-09 13:19:54 +00:00