Commit Graph

43780 Commits

Author SHA1 Message Date
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
jdolecek e7ad3e2a49 Make e_errno of struct emul 'const int *' (was 'int *'), since the errno
mapping tables were constified recently.
This fixes compile problem reported by Ken Wellsch on current-users@.
2001-01-25 20:18:51 +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
manu 86651a757f Fixed wrong signal handler argument setup. The emulated sigcontext still has some problems. 2001-01-25 19:36:53 +00:00
jdolecek 6e695cc559 move misplaced comment to where it belongs 2001-01-25 19:14:40 +00:00
toshii b8569c0b8e The previous revision was my fault. audio_calcwater() needs to be
called at every open.
Thanks Witold J. Wnuk for pointing out this problem.
2001-01-25 15:25:34 +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
jdolecek 555bbcc02a g/c pmnt_mp in struct procfs_args 2001-01-25 12:44:56 +00:00
marcus 7df82ad12b Changed implementation of partitions, multisession discs now work better. 2001-01-25 01:41:47 +00:00
thorpej 37247109d1 When considering a page for deactivation, check to see if the
page has been referenced since the last time it was considered.
If it was, don't deactivate the page.
2001-01-25 00:24:48 +00:00
mycroft 91a4c18e32 Put back the pmap_is_referenced() check from the original UVM code in the
inactive list scans.  Without this, the referenced bit was essentially ignored.
2001-01-25 00:10:03 +00:00
jdolecek 9818f641c3 make db_command_table[] const; since there is no way to dynamically extend
or modify the table at the moment, there is no functionality lost.
See also the discussion on tech-kern (Subject: 'machine' DDB command).
2001-01-24 20:54:41 +00:00
kleink 961fde5a45 #ifdef __STDC__ -> #if __STDC__ 2001-01-24 20:34:59 +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
ichiro fa52d46203 more datasheet
but same...
2001-01-24 14:46:49 +00:00
haya c54894efe9 IMPROVEMENT: use tsleep() instead of delay(). Kernel do not stop
during card insertion, deletion and power change.
2001-01-24 10:10:04 +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
itojun 617b3fab7e - record IPsec packet history into m_aux structure.
- let ipfilter look at wire-format packet only (not the decapsulated ones),
  so that VPN setting can work with NAT/ipfilter settings.
sync with kame.

TODO: use header history for stricter inbound validation
2001-01-24 09:04:15 +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
augustss 840a1d7e2b Fiddle enough with the tty so that it wakes up on detach and drops
the reference count on the ucom.
2001-01-23 22:06:25 +00:00
augustss 4b0119383e Ad support for an extra message in the ucom attach code. 2001-01-23 21:56:17 +00:00
augustss 0156530592 Null out pointers when closing pipes.
Try to wake upper layer on error.
2001-01-23 21:22:57 +00:00
augustss af1fabe1bc There are more ports than meet the eye on the Visor. Connect a ucom
to each of them.
2001-01-23 21:19:44 +00:00
ad 7bb669ca3e Fix up license. 2001-01-23 20:51:01 +00:00
ad c5fe587d24 Oops, be sure to clear the ATTN interrupt on error. 2001-01-23 20:47:02 +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
chuck 10ca4fd232 cause the "delete" key to actually send \177 like it used to
(and still does with pccons) rather than \033[3~ ...
2001-01-23 19:25:14 +00:00
tv 82a01b7eeb Regen. 2001-01-23 19:24:19 +00:00
tv af31089a6d Re-add $FreeBSD$ RCS Id for the purposes of synchronization tracking.
This is not unprecedented, as we do it in >100 places in the tree.
If you disagree with this philosophy, take it to tech-kern for a discussion
FIRST before reverting; TNF, not one particular person, owns this file.
2001-01-23 19:24:00 +00:00
bjh21 e68a8d59fa Sync with libc for licence update. 2001-01-23 19:12:29 +00:00
augustss 23cffa82c7 Rearrange detach code so it is more likely to survive detaching an open
device (it's still not waking up readers properly).
2001-01-23 17:35:58 +00:00