Commit Graph

25307 Commits

Author SHA1 Message Date
pk
5538893eda sun4_dmamap_load(): Check if boundary condition can be satisfied instead
of panicing blindly.
2001-01-28 20:48:31 +00:00
ragge
747983bb5b Fix late "constifying" in ddb. 2001-01-28 20:47:45 +00:00
ragge
630d0523f6 These are not used anymore. 2001-01-28 20:04:50 +00:00
ragge
8032849729 Rename dz_ibus to dz_vsbus. 2001-01-28 19:26:34 +00:00
uch
17b8c0e553 setup platid and config_hook. 2001-01-28 03:40:25 +00:00
uch
2f13dfd80c s/EVBSH3/HPCSH/ 2001-01-28 03:31:30 +00:00
uch
584cfa7669 Switch to MI md_root.c. 2001-01-28 03:09:40 +00:00
uch
37e1f36fec add hpc dir if MACHINE is hpcmips or hpcsh. 2001-01-28 02:58:19 +00:00
uch
6be22c0c6f hpcmips hpcsh common files are moved to arch/hpc. 2001-01-28 02:52:15 +00:00
martin
a7206004fc Faster error handling for iommu_dmamap_load_raw; avoid loading the map
and unloading on error when we clearly can't get out without an error.
2001-01-28 01:26:57 +00:00
nathanw
88fbd1edd4 Add joy at pnpbios. 2001-01-28 00:50:23 +00:00
nathanw
5028590f77 PNPBIOS joystick attachment. 2001-01-28 00:37:52 +00:00
eeh
6c3bf28ffd Fix dvma problem caused by previous. Seems like the dvma segment calculation
in iommu_dmamap_unload() was not quite right.
2001-01-27 03:40:39 +00:00
lukem
952413677f add options NTP (ok-ed by thorpej) 2001-01-27 03:02:52 +00:00
is
facd2d0feb Support for the Zeus Development(?) ISDN board (2189/3). 2001-01-26 21:49:04 +00:00
minoura
42c425801b Use IOCS_S_READEXT only when reading the partition boot from
higher part of the disk than 0x200000.
2001-01-26 17:30:15 +00:00
tsutsui
9f8af7c171 Sync with sun3/machdep.c:
> Require the machine-dependant DDB commands to be in db_machine_command_table[]
> and link it directly to db_command_table[] so that it's not necessary
> to do this at runtime. Make db_machine_command_table[] const on all ports.
> g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()
>
> Patch written by enami.
2001-01-26 16:12:12 +00:00
aymeric
a85be0a99c process_machdep.c is actually procfs_machdep.c 2001-01-26 10:31:29 +00:00
sato
8211e0e08b * support more than 16 ids.
* check the event ids are in the table.
2001-01-26 03:44:33 +00:00
sato
18ae54300c * renumber config_hook event type.
* change event id of old event type(POWERCONTROL,BUTTONEVRNT)
  to same as event id of new event type(EVENT,SET,GET).
2001-01-26 03:42:30 +00:00
is
d2ace86ad7 Two suggestions by jhawk:
- be more verbose about what file is created
- adjust copied $NetBSD...$ from $ NetBSD to NetBSD.
2001-01-25 22:34:20 +00:00
is
3f25157bea Add support for ISDN Surfer (ISDN only, for the time being). 2001-01-25 22:22:15 +00:00
martin
f4eec8f31f iommu_dvmamap_load_raw: add a check for creating maps larger than
expected by the creator of the dma map and fail apropriately. This
makes the syssrc/dev/pci/if_vr.c driver work.
2001-01-25 21:41:10 +00:00
fvdl
f2b255d7c2 Don't use pmap_enter in vmapbuf. This is essentially a reversal of
revision 1.76. It avoids problems where an I/O interrupt for physio,
using a bounce buffer, would find the destination address mapped
read-only because the syncer process hit.

Suggested by Chuck Cranor.
2001-01-25 20:14:28 +00:00
tsutsui
08f4daf2ce Add drivers for keyboard and mouse.
(but no working framebuffer yet..)
2001-01-25 14:33:28 +00:00
tsubai
d0a3070c40 Generate key press event and key release event when capslock is pressed.
Now capslock key works correctly on X11.
2001-01-25 14:08:55 +00:00
wiz
ec35b8d060 Make output selection work -- you can use lineout now instead of the
internal loudspeakers.
2001-01-25 13:39:22 +00:00
tsutsui
b2457f9a76 Move NEWS keymap file into MI place to share with news68k. 2001-01-25 13:13:59 +00:00
marcus
7df82ad12b Changed implementation of partitions, multisession discs now work better. 2001-01-25 01:41:47 +00:00
jmc
59d9cb6e67 Spelling police 2001-01-24 19:38:44 +00:00
jmc
5fe51991eb Enable MFS. This will allow /dev to be built on mfs. 2001-01-24 18:08:26 +00:00
sato
3689556739 * fix typo.
* change PWR_* handling to PWR_SOFT* handling, if these routines need to sleep.
2001-01-24 09:34:26 +00:00
sato
2e9c446398 * dopowerhooks(PWR_SOFTSUSPEND) in apm_suspend().
* dopowerhooks(PWR_SOFTSTANDBY) in apm_standby().
* dopowerhooks(PWR_SOFTRESUME) in apm_resume().
* dopowerhooks(PWR_RESUME), dopowerhooks(PWR_STANDBY),
  dopowerhooks(PWR_SUSPEND) run in splhigh() state.

These changes sync with arch/i386/i386/apm.c.
2001-01-24 09:29:25 +00:00
jmc
c97a56563e Turn on NFS_V2_ONLY as the kernel has gotten too big for the ramdisk otherwise. 2001-01-24 06:10:09 +00:00
sato
fbf168d909 delete unneed debug message. 2001-01-24 03:52:16 +00:00
sato
a164b74b53 revert one of 1.34 change.
> * emul/mapping infomation turn to per screen.
(my misunderstanding)
currently per device.
2001-01-24 03:50:20 +00:00
sato
4af7f46d47 * support hpcfb_show_screens()'s cb and cbarg arguments. (HPCFB_MULTI)
* emul/mapping infomation turn to per screen.
* rename hpcfb_check_scroll() to hpcfb_check_update(). (HPCFB_JUMP)
* rename hpcfb_scroll_update() to hpcfb_update(). (HPCFB_JUMP)
* update experimental HPCFB_JUMP codes. (but not yet fix yet)
2001-01-24 01:38:53 +00:00
bjh21
917e1e8fd2 Set the palette in 4bpp modes. They still don't work right, though. 2001-01-24 00:56:29 +00:00
bjh21
050769744d cf_unit usage is now fixed. 2001-01-24 00:03:21 +00:00
bjh21
3c3ed6cecd Flush out cf_unit abuses.
Also, most device functions related to IRQ handling no longer take a device
pointer.  We make so many assumptions about the machine's layout in irq.c that
this just seemed silly.
2001-01-23 23:58:31 +00:00
bjh21
d21e15aefe This is no longer used. 2001-01-23 23:19:45 +00:00
bjh21
c59e8d1831 ANSIfy. 2001-01-23 22:59:24 +00:00
bjh21
34bf08cd05 Use a permanent breakpoint to invoke DDB rather than constructing a trapframe
manually.  Prevents the problem introduced in the trapframe unification
whereby continuing from DDB would cause a panic.
2001-01-23 22:41:16 +00:00
bjh21
f32fc0fc90 Use evcnts properly for interrupt counting.
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher.  This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.

Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate.  At present, it isn't.
2001-01-23 22:07:59 +00:00
bjh21
8c87715ce0 We abuse cf_unit. The shame! 2001-01-23 22:07:58 +00:00
bjh21
616dad1a1b Use evcnts properly for interrupt counting.
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher.  This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.

Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate.  At present, it isn't.
2001-01-23 22:07:57 +00:00
martin
97b57e69cc Make bus_dmamap_load_mbuf and bus_dmamap_load_uio use independend
segment lists for their mapping; make iommu_dmamap_unload deal with
this type of maps.

Coded by Eduardo, tested (and minimaly tweaked) by me.
2001-01-23 20:31:28 +00:00
nonaka
21f8de1fcd fix dup include ossaudio. 2001-01-23 14:12:25 +00:00
tsutsui
ec63f6df14 Use MI loadfile() in loadprotoblocks(). 2001-01-23 11:30:54 +00:00
is
93f107e677 adjust comments to reality 2001-01-23 11:25:59 +00:00