Commit Graph

45706 Commits

Author SHA1 Message Date
leo 99047718f0 fdisa needs-flag... 2001-04-10 06:37:08 +00:00
leo 30f5357c6e Move dma.c away from the mainbus floppy and make it a separate entity with
tag 'mbdma'.
2001-04-10 06:36:08 +00:00
leo e159fdc910 files.atari:
Defopt motherboard type and make ym2149.c dependend on 'standard' atari
    boards.
Configfiles:
    Add pseudo device mouse. It got dropped in the moves by accident.
2001-04-10 06:28:38 +00:00
leo dfaa29355b Add a config file for the Milan. Note that you cannot build a working Milan
kernel yet. There are still quite some bits missing in the repository.
2001-04-10 05:56:25 +00:00
leo 1e08d983e3 Move GENERIC to GENERIC.in . This avoids confusion since GENERIC is not a
standalone config file anymore.
2001-04-10 05:52:14 +00:00
chuck 7074958a24 fix locking problem noted by Jaromir Dolecek. also, add more comments
on locking rules to make code easier to understand.   locking in
uvm_loananon still needs some work on fringe cases where anon's page
is actually on loan from a uobj.
2001-04-10 00:53:21 +00:00
sommerfeld 422ddeb55b In cpu_fork(), initialize u_pcb.pcb_context[8] so that the newly
spawned kthread/process runs at IPL_0 instead of whatever IPL the
parent was running at.

This appears to fix the NTP clock stability problems observed on some
alpha systems; the clock appears stable even when there's heavy
raidframe (i.e., kthread-intensive) I/O under way.
2001-04-10 00:27:00 +00:00
fvdl 0ccb3965dd Fix missing splx calls. One of them from OpenBSD. 2001-04-09 23:51:28 +00:00
bjh21 fd7c4f1c79 ether_ioctl() expects i82586_init() to return an errno. Have it do so
(admittedly only EIO at present).
2001-04-09 22:31:16 +00:00
pk cd24bc13e7 Account for the number of counter ticks that elapse while statintr()
processing takes place. This prevents stat clock skew by a factor
approximately proportional to stathz (not a serious problem if stathz==100;
but considerable already if stathz==1000).
2001-04-09 21:28:50 +00:00
pk 2c2e7aca80 Add macro to convert a counter register value to microseconds. 2001-04-09 21:17:33 +00:00
eeh 986e7f8f1c Interrupt latency fix from sparc port. (Hm. One insn instead of 5). 2001-04-09 21:15:42 +00:00
marcus b6c1c5d49a Altentries should also be marked as functions, to keep linker happy. 2001-04-09 20:31:20 +00:00
martin 3caa4d3f4c Specify the size of the framing added to packets (in this case: zero), so
if_sppsubr.c can calculate correct statistics.
2001-04-09 19:35:46 +00:00
martin 93c0294b72 Specify the size of the framing added to packets, so if_sppsubr.c can
calculate correct statistics.
2001-04-09 19:34:40 +00:00
reinoud 3e6eaba006 The old vidc console code can't handle all display depths 2001-04-09 19:33:22 +00:00
martin 8f8dc65f89 Add another option for encapsulation: PP_NOFRAMING.
In this mode, the PPP packets start with the protocol identifier and don't
have any explicit framing (which may be added by the lower level driver).

Make input/output statistics a little bit more correct by adding a hardware
driver adjustable framing length for each packet (instead of the constant
value "3" used before).

While there, bump authentication name length from 32 to 48 (I have a
connection where I need more than 32). XXX - this should not be artificialy
limited at all.
2001-04-09 19:33:01 +00:00
reinoud ba53dd71d7 Re-enable setmode() in wscons implementation. 2001-04-09 19:23:32 +00:00
reinoud b592059273 Just some pretty printing for 640 width screens 2001-04-09 19:22:42 +00:00
pk a0daff5647 proc_trampoline(): mave the new process run at base interrupt priority level.
This is especially important for in-kernel processes started from here,
which would otherwise keep running at splclock().
2001-04-09 18:18:48 +00:00
nathanw a8c1e6280a Fix spelling errors in comments. 2001-04-09 16:10:06 +00:00
sato a71959e501 fix KS_Cmd_Screen* in sigmarion_cmdmap[]. 2001-04-09 16:05:53 +00:00
tsutsui 46023e3c2d Remove aoutm68k_misc.c from SRCS since it is only needed
if COMPAT_AOUT_ALTPATH is specified.

XXX: How should we handle options like this on LKMs?
2001-04-09 16:03:22 +00:00
marcus e0d02d24d5 Mark syscalls as functions. 2001-04-09 15:52:59 +00:00
drochner 9e9590f441 Change the way the aux port is probed for. Some older chipsets w/o
mouse port seem to interpret the "test aux port" (0xa9) command differently,
leading to a non-working keyboard.
Now we try to echo a byte through the aux port by means of the "echo aux"
(0xd3) command, which is what Linux does.
Thanks to Christoph Badura for detailed reports and testing.
2001-04-09 15:45:50 +00:00
ad e637d8a38d - Some firmware fills the system drive table with junk, so get the number
of system drives from an ENQUIRY.
- Complain if there's more than 1 segment when issuing some kind of enquiry
  (this needs to be fixed properly).
- Fix the ID hack for 2.xx firmware.
- Fix an argument to bus_dmamap_sync().
2001-04-09 15:40:09 +00:00
enami c75004b245 Fix the name of some bits in struct vnode.v_flag. 2001-04-09 14:14:10 +00:00
reinoud e9d5de6e98 Patch the hardware scrolling to be only used when using VRAM until it is
working perfectly with DRAM only.
2001-04-09 13:59:44 +00:00
enami 51a6f1ba3c Fix prototype to avoid compilation error. 2001-04-09 13:23:07 +00:00
ad a69e2f1310 Regen. 2001-04-09 11:52:27 +00:00
ad e68e07d62c Add Tekram DC-315/DC-395. 2001-04-09 11:51:30 +00:00
jdolecek b6d1d4db02 Change the first arg to fileops fo_stat routine to struct file *, adjust
callers and appropriate routines to cope. This makes fo_stat more
consistent with rest of fileops routines and also makes the fo_stat
match FreeBSD as an added bonus.
Discussed with Luke Mewburn on tech-kern@.
2001-04-09 10:22:00 +00:00
jdolecek c1dca7fa03 also use fops fo_stat for osf1_sys_fstat2() 2001-04-09 10:08:51 +00:00
drochner a6ae0975d5 regen 2001-04-09 09:39:57 +00:00
drochner 552d4c8236 add media options for the Intel UCH2 internal ethernet controller 2001-04-09 09:39:24 +00:00
jdolecek 3fc6fc58e6 Call file descriptor stat function via (*fp->f_ops->fo_stat) instead
of a switch statement and explicit call.
Sprinkle some FILE_USE()/FILE_UNUSE() as appropriate.
2001-04-09 09:39:09 +00:00
jdolecek 5bd42953f7 Upon Chuck Cranor request, revert rev. 1.26. There is indeed a bug in way
locking is done, but this fix is not the right way to fix it.
2001-04-09 06:21:03 +00:00
leo 3aabea5c70 Remove '_KERNEL' conditionalizing. This break userland apps.
Noted by Steve Allan.
2001-04-09 05:35:32 +00:00
tsutsui aa31658cf0 Correct values for sanity checks. 2001-04-08 17:05:10 +00:00
jdolecek 17c0a84170 Remove superflous uvmfault_unlockmaps() in uvm_loan(), only call it
if uvm_loanentry() returned 0; otherwise, the unlocking would already
have been done by uvmfault_unlockall() call in  uvm_loanentry().
Okay'ed by Chuck Silvers
2001-04-08 16:51:51 +00:00
tsutsui c65417c92f Make sure to print "\n" at the end of the attach line on non-DEBUG case. 2001-04-08 11:45:45 +00:00
tsubai 2a7597f49e Make this compile w/o ukbd. 2001-04-08 08:53:31 +00:00
ross 2d8e2c19d6 Fix soo_stat() calls for the new parameter, even if the direct call is
now obsolete, so that kernels will at least compile. I guess it was too
much trouble to change all 10 call sites, or perhaps, these days, only
things that build on i386 are important. Maybe it's the full moon tonight.
2001-04-08 08:01:36 +00:00
augustss 82fe39b9cb Add a Peracom adapter. 2001-04-08 02:10:57 +00:00
tshiozak 042dae07d7 support "running status" handling. midiplay via umidi is working now. 2001-04-07 22:01:34 +00:00
reinoud ed0aea79a7 Make the NC start run again ... it didnt detect the start of the DRAM good
enough.
2001-04-07 20:57:24 +00:00
thorpej 5cbdcc502b Add ALTQ support (both for the VLAN interface itself, as well as for
being a VLAN on a ALTQ'ified interface).
2001-04-07 18:41:42 +00:00
thorpej c28f672aee Add altq_etherclassify(), a slight hack modified from the kame/freebsd4
tree, which allows a packet with Ethernet headers already present to
run through the ALTQ packet classifier.  This is needed in order to
suport ALTQ on VLAN and bridge devices.
2001-04-07 18:01:48 +00:00
jdolecek bb8ceadfcc Adapt to struct fileops, soo_stat() changes.
Pointed out by Bernd Ernesti in private mail.
2001-04-07 17:37:09 +00:00
jdolecek 09b64e8678 bump kernel version - struct fileops change 2001-04-07 15:56:50 +00:00
dbj 179671f564 automatically restart dma for unexpected shutdowns 2001-04-07 13:02:55 +00:00
tsutsui aff5787b5b Regen from aoutm68k/syscalls.master rev 1.5:
> Allow enabling/disabling /emul/aout alternate path search
> on COMPAT_AOUT_M68K environment by options COMPAT_AOUT_ALTPATH.
2001-04-07 12:28:55 +00:00
tsutsui 0286ef8bba Allow enabling/disabling /emul/aout alternate path search
on COMPAT_AOUT_M68K environment by options COMPAT_AOUT_ALTPATH.
2001-04-07 12:25:15 +00:00
dbj b2e3cc1a2e continue to tweak nextdma detection of xfer length
add check to esp driver for incomplete transfers, but still does not handle them.
2001-04-07 11:29:50 +00:00
ichiro 8aa94c66a0 regen 2001-04-07 11:16:35 +00:00
ichiro f5842381bb add product centronics adapter USB-1284 BRIDGE 2001-04-07 11:16:12 +00:00
tsutsui 2f9f69455f Fix some bus_dma(9) usage:
- bus_dmamap_sync() takes offset into the dmamap, not VA.
- Use BUS_DMA_STREAMING for the data dmamap, not BUS_DMA_COHERENT.
2001-04-07 10:50:13 +00:00
jdolecek 16b1272b3f Add new 'stat' fileop and call the stat function via f_ops rather
than directly.
For compat syscalls, also add necessary FILE_USE()/FILE_UNUSE().
Now that soo_stat() gets a proc arg, pass it on to usrreq function.
2001-04-07 09:00:57 +00:00
tron 824065dc0a Don't call "is_a1200()" again after its result was stored in the "softc"
structure.
2001-04-07 05:09:27 +00:00
thorpej 98c9d8b5c6 ether_*() functions belong in if_ether.h, not if.h. 2001-04-07 04:24:31 +00:00
augustss 50c9868982 Add a bunch of language specific keymaps. From OpenBSD. 2001-04-07 00:27:55 +00:00
augustss b8cfdb2c1d Allow a UKBD_LAYOUT option to determine the default keyboard layout.
(From OpenBSD.)
2001-04-06 22:54:15 +00:00
augustss 09846cd9c0 Regen. 2001-04-06 22:53:16 +00:00
augustss 76e981dd50 Add another device (from FreeBSD). 2001-04-06 22:52:55 +00:00
leo adc78de568 Regen. 2001-04-06 21:55:11 +00:00
leo 54d70d6eef Add a 'ser0' device to all. Add ne2000, 3Com 3c59x/3c90x and ESS Solo-1
support to the Hades.
2001-04-06 21:53:39 +00:00
fredette 666b4cf417 A successful compile is near. 2001-04-06 17:17:58 +00:00
simonb 1c69191831 Fix typo - s/dbcst/dcbst/. 2001-04-06 16:48:11 +00:00
darrenr 0b6031033d fix fragment cache security hole 2001-04-06 15:32:40 +00:00
fredette ec984a04ad Added. 2001-04-06 15:05:55 +00:00
fredette 3ff14b7ac5 vm/vm.h -> uvm/uvm_extern.h
Cleaned up definitions of cputype and mmutype.
mon.h -> promlib.h, and use all of the new prom_
functions instead of the old mon_ functions.
Removed all of the old mon_ capturing code to
promlib.c.
2001-04-06 14:59:09 +00:00
fredette e3edb8d20c Gratuitous comment changes. 2001-04-06 14:52:56 +00:00
fredette 6529ec2635 Now include machine/promlib.h instead of machine/mon.h, and
use the new prom_ functions instead of the old mon_ functions.
Added the internal _pmap_extract_pmeg function, and removed
some old Sun3 cache-related code.
2001-04-06 14:52:19 +00:00
fredette 353ad332f0 Added some support for the old-school 'g0' and 'g4' monitor
hooks, and removed some old Sun3 cache and interrupt-register
related code.
2001-04-06 14:36:08 +00:00
tsutsui 06c28be1fe Install byte_swap.h on make includes. 2001-04-06 14:11:20 +00:00
fredette 20293ce870 Added. 2001-04-06 13:13:01 +00:00
fredette d8d78f2801 Added a prototype for the internal function _pmap_extract_pmeg,
used by the bus_dma implementation when double-mapping pages
by hand.
Now define PMAP_OBMEM for completeness.
2001-04-06 13:12:06 +00:00
fredette 874e89c74d Added an internal bus_space flag to find and use PROM mappings.
Added an internal bus_dma flag to mark when a map has been
loaded by double-mapping pages by hand, outside of the pmap.
Added more prototypes for our bus_dma implementation.
2001-04-06 13:09:10 +00:00
fredette 85c6ec3b50 Now use the proper DVMA map size depending on what
machine type we're on.
Removed all prototypes, since we're going bus_dma.
2001-04-06 13:03:14 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
toshii ff71a021ca There is no /usr/include/hpcarm/disklabel_acorn.h. 2001-04-06 11:10:57 +00:00
onoe 5653ae7375 Add Cisco Aironet 350 Series.
XXX: work as same as 340 series.
     do not use any 802.11e security enhancements yet..
2001-04-06 09:28:39 +00:00
onoe 8a81c1e899 regen: add Cisco Aironet 350 Series. 2001-04-06 09:27:13 +00:00
onoe f53e32994a Add Cisco Aironet 350 Series 2001-04-06 09:26:29 +00:00
jdolecek e482ee9d62 add rnd (for ssh/sshd) and couple comments 2001-04-06 06:44:08 +00:00
toshii 3180bc6ac6 Fix a couple of bugs including kernel_pt_table[] range overflow.
I thought some incompatiblity with gcc-2.95.3 prevented booting,
but the actual reason was this silly overflow.
2001-04-06 05:38:01 +00:00
thorpej 66c3288ad5 From KAME:
kjc         2001/02/09 16:20:40 JST

  Modified files:
    kame/sys/altq        altq_classq.h altq_rmclass.c
  Log:
  clear m_nextpkt at dequeueing a packet.

  this is not needed in the current code but
  requested by Lars Eggert <larse@ISI.EDU> for
  their experiment to use altq for inbound processing.

  Revision  Changes    Path
  1.4       +4 -1      kame/kame/sys/altq/altq_classq.h
  1.10      +4 -1      kame/kame/sys/altq/altq_rmclass.c
2001-04-06 00:44:46 +00:00
bjh21 03e45ae8c7 In ea_writembuf(), reset the DMA pointer for each mbuf we copy, since
odd-sized mbufs will confuse things.  This makes transmission of odd-sized
packets work.
2001-04-06 00:02:49 +00:00
bjh21 d109dd795a Add a bit of voodoo code from the old "eb" driver that seems to prevent the
80C04 returning garbage when we read from it.  This driver can now handle flood
pings without dropping packets.
2001-04-05 22:55:46 +00:00
reinoud 0eb01da9c9 Two preliminary NC kernel definition files.... 2001-04-05 22:34:28 +00:00
reinoud 1b2003f235 Apply patches for the NC ... not really in the line of the merge but at least
its in the source tree for now.
2001-04-05 22:33:12 +00:00
augustss aaf471b177 Regen. 2001-04-05 20:52:57 +00:00
augustss df7e9d2178 Add Canon PowerShot S100. 2001-04-05 20:52:34 +00:00
bjh21 9411be7c80 Re-enable the old "ea" and "eb" drivers under the names "oea" and "oeb".
These shouldn't last long, but they may be useful until I hammer all the bugs
out of the new version.
2001-04-05 20:31:50 +00:00
tsubai b672929b7f Support uni-north based models. (XXX not complete) 2001-04-05 19:55:01 +00:00
jhawk 4f4abf46ee SYSDIR should be relative here, too.
And actually use it after we define it.

Optimize the find expression (use -prune over -path)
2001-04-05 19:49:40 +00:00
reinoud b44dca831b Since the NC's seem to have trouble with the OS_HeapSort, i've implemented
my own sorting routine (bubblesort). Also replaced a declaration for BASIC
seemed to mess things up.
2001-04-05 19:17:17 +00:00
rearnsha d9de58f3e1 Ansify. Replace bcopy/bzero with memcpy/memset. Clean up formatting.
Clean up debug messages.  No significant functional changes.
2001-04-05 18:06:45 +00:00
tsubai a9e0aabf3f Correct input volume settings. 2001-04-05 14:21:31 +00:00
minoura 817c994ead Make this compile on alpha with DIAGNOSTIC.
Thanks to atatat.
2001-04-05 12:36:51 +00:00