Commit Graph

27776 Commits

Author SHA1 Message Date
is
0a3d4d8915 - define protocol type for diagnostics (0x80 as per ANSI 878.1)
- define protocol type for IP version 6
- define length of exceptional length packets for both RFC 1201-style and
  ATA 878.2-style fragmentation.
1999-01-16 13:01:20 +00:00
pk
c830c88dd2 Convert to bus_space(9).
Add buffer allocations needed by the be driver.
1999-01-16 12:46:08 +00:00
pk
e0e761e420 Import Jason Wright's Bigmac driver, written for OpenBSD.
Heavily pounded on by me to make it fit our driver model.
1999-01-16 12:43:09 +00:00
drochner
76db984c6d regen 1999-01-16 11:28:19 +00:00
drochner
1587097426 add another NCR chip, from Dave Sainty <dave@dtsp.co.nz> per PR kern/6819 1999-01-16 11:27:40 +00:00
nisimura
f3b48dd536 - Restore 'cpuregs.h'. 1999-01-16 09:25:18 +00:00
nisimura
d9b9f639e6 - Update 'cpuregs.h' and decline 'cpuarch.h'. 1999-01-16 09:07:37 +00:00
nisimura
6119939f5a - Restore 'cpuregs.h'. 1999-01-16 08:51:04 +00:00
nisimura
b6cc76ac91 - Never use an uninitialized variable. 1999-01-16 08:48:06 +00:00
nisimura
25806f2bf5 - Make cpu_switch() a normal call; formally it was splitted into halves.
- Fix an error in mips3_cpu_switch_resume(); ASID was not set correctly.
- Remove global variable 'curpcb' reference in mips1_proc_trampoline().
- Restore 'cpuregs.h'.
1999-01-16 08:45:53 +00:00
nisimura
358a8c3092 - Add two macros to deal with a recent change in mips/trap.c. 1999-01-16 08:26:24 +00:00
nisimura
34410d5d0c - Fixup imcomplete vm_offset_t purge work... 1999-01-16 07:05:05 +00:00
nisimura
e02862b167 - Don't use void pointer for arithmetic. 1999-01-16 06:36:42 +00:00
tron
3601b98911 Add missing backslashes between continued lines. 1999-01-16 06:24:07 +00:00
nisimura
f163b5653f - Replace the stub value of 'eret' instruction with correct one. 1999-01-16 03:44:42 +00:00
nisimura
f4b56d8060 - Clarify how inimplemented FP instruction traps are handled. 1999-01-16 03:31:49 +00:00
nisimura
d077749e8f - Fix errors involving proc0's kernel stack usage. Fortunately it made
no error so far...
1999-01-16 03:17:06 +00:00
nisimura
7dce3ef311 - User mode context held with pcb_regs[38] in 'struct pcb' was relocated
at the very bottom of process kernel stack.   The address is pointed with
'curproc->p_md.md_regs'.
- Define 'struct md_coredump'.
1999-01-16 03:12:18 +00:00
nisimura
f714e02733 - Fixup for recent change in arch/mips. 1999-01-16 02:36:01 +00:00
bouyer
f20d50fae4 Add byte_swap.h here too. 1999-01-16 02:31:54 +00:00
bouyer
62a77e9dfe Oups, need byte_swap.h too. Pointed out by Robert V. Baron 1999-01-16 02:20:26 +00:00
thorpej
8922647c58 Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS. 1999-01-15 23:37:05 +00:00
thorpej
f52ee598ae __pmax__ -> pmax, __arc__ -> arc, like other ports. 1999-01-15 23:35:54 +00:00
thorpej
8ce7166aa3 __pmax__ -> pmax, like other ports. 1999-01-15 23:29:55 +00:00
thorpej
c84a74b16b Don't define "mc68020". Nothing uses it. 1999-01-15 23:21:25 +00:00
thorpej
cd3a2c5a2a Eliminate use of CPP symbol "mc68020". 1999-01-15 23:15:50 +00:00
castor
48cbfb842a * Add prototype for mips1_clean_tlb
* Add the correct version of locore_mips1.S [ See previous revision for
	description of changes ]
* Use defopt'ed MIPS3_L2CACHE_ABSENT in mips_machdep.c and pmap.c
	to avoid generating extraneous code.
* GC pmap_set_referenced in pmap.c
1999-01-15 22:26:42 +00:00
wrstuden
c7fc6c74ca Oops. That extra "*" doesn't need to be there. 1999-01-15 22:04:44 +00:00
sommerfe
324ea43975 Fix format mismatch which only turns up when building with DEBUG 1999-01-15 22:02:59 +00:00
thorpej
e2a60769a0 Fix an unterminated macro call. 1999-01-15 20:34:31 +00:00
explorer
edd259d12e Make it so raidframe will only perform synchronous writes, and async
reads.  This avoids a problem where many writes will cause the driver
to allocate way too much memory.

This needs to change to a queueing system later, which will provide a
way to limit the memory consumed by the driver.

Without these changes, raidframe would use 24M or more on my machine when
the buffer cache dumped all its dirty blocks.  Now it uses around 200k
or so.
1999-01-15 17:55:52 +00:00
drochner
21a687eb01 add japanese keyboard map, from AW9K-NNK@asahi-net.or.jp (Nonaka Kimihiro)
per PR kern/6814
1999-01-15 16:12:25 +00:00
drochner
6efb3afd18 add definition for japanese keyboard 1999-01-15 16:00:33 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
castor
45a22daf10 allow generated kernel includes and support mips pubassym.cf mechanism 1999-01-15 10:57:36 +00:00
castor
c729b2ffeb add support for locore_mips[13].S 1999-01-15 10:33:11 +00:00
castor
534c67a373 Protect defopt against -D_LKM 1999-01-15 10:07:12 +00:00
castor
84915f67d7 Fix typo in mips3_ConfigCache() -- mips3_L2CachePresent 1999-01-15 09:58:43 +00:00
castor
cfdc52bfa9 Break out utility functions from locore.S 1999-01-15 08:44:27 +00:00
matthias
2dff258464 Support BUFCACHE option (stolen from i386). 1999-01-15 07:43:48 +00:00
matthias
88b2c1662d Protect all defines in this file with #ifdef _KERNEL. At least the
definition of T_SLAVE will cause the bind build to fail. Thank's
to Phil Budne for noting this.
1999-01-15 07:42:48 +00:00
castor
4720afb463 Avoid introducing new prefix '__JB' -- '_JB' is fine. 1999-01-15 03:43:56 +00:00
castor
e20f6d6203 * Elimination of UADDR/KERNELSTACK
Affected files:
	include/mips_param.h, include/pcb.h,
	mips/locore_mips1.S, mips/locore_mips3.S,
	mips/mips_machdep.c, mips/vm_machdep.c

   Issue:

So far, NetBSD/mips has not successfully got rid of fixed-address
kernel stack.  USPACE (two 4KB pages) of each process has two distinct
KSEG2 addresses, both refer to a single physical storage; one address
for fixed range [ UADDR .. KERNELSTACK ), and another for "normal" KSEG2
address which was allocated by kernel memory manager and unique to each
others of processes.

"Doubly mapped" USPACE complicates context switch.  Both address ranges
have to be managed with a special care of "wired" TLB entries which
are never replaced until next context switch to ensure no TLB miss for
USPACE access.  It's equally crumbersome that MIPS processor's cache
machinary gets be confused about USPACE contents because there are two
distinct KSEG2 addresses to manipulate one physical storage.

   Solution:

Purge KERNELSTACK constant for kernel stack pointer and replace
it with process unique values.  Kernel stack bottom is located at
'curproc->p_addr + USPACE'.  Context switch is simplified as it unloads
half of TLB hardwiring burden.  It just manages the unique KSEG2 address
of each USPACE to be wired.  As the side effect, switch_exit() has no
MIPS processor ISA dependent code anymore.  It switchs kernel stack to
proc0's USPACE which has KSEG0 address and no need of TLB entry.

* Extensive use of 'genassym.cf'

To hide target port dependent and/or processor register size dependent
constants from assembler routines, 'genassym.cf' now has an extentive
set of definitions for various constants and offset values of
structural objects.  This change will contribute possible NetBSD/mips64
portability too.

* Separation and rename of locore_r2000/_r4000.S

Those files are now indepedent standalones from locore.S to ease
maintainance works, and renamed to match MIPS processor ISA version.

* Changes in kernel mode exception handlers

Kernel mode exception handlers hold exception contexts by pushing a
certain set of register values on stack for resuming kernel mode
processing.  This context is now represented with 'struct trapframe',
which is smaller than full scale (user mode) exception context 'struct
frame'.  Stack consumption of kernel mode exception services is now
similar to 4.4BSD/mips.

* Relocation of exception frame

User mode context 'struct frame' is moved to the very bottom of kernel
stack at 'curproc->p_addr + USPACE - sizeof(struct frame)'  This change
saves a bit of instructions on every return to user processes as it
eliminates reference to global variable 'curpcb' each time.

* Refurblished DDB backtrace routine

It's a growing concern to maintain stacktrace() code correctly.  It
could be simplified by enforcing special arrangements for some of
obscure locore routines which violate usual coding conventions.

New backtrace code searchs for certain instructions peculiar to any of
function tails.  Specifically, "jr ra" for normal function returns, "jr
k0" for MIPS1 exception handlers and "eret" for MIPS3 handlers.

* Support for 64-bit safe user code
    Affected Files:
	${ARCH}/include/pubassym.cf lib/libc/arch/mips/gen/*setjmp*
	include/setjmp.h mips/include/[lots] mips/mips/[lots]

    Solution:

	We define macros REG_L/REG_S and SZREG for loading and storing
	registers and for the size of registers.  The exact meaning
	of these is controlled by a macro (currently _MIPS64) which
	allows one to treat the registers as either 32-bit or 64-bit.
	There are data types mips_reg_t and mips_fpreg_t which represent
	the true register sizes, and avoid confusing register_t.

	We needed a way to dynamically gen the structure sizes of things
	like sigcontext for setjmp.h, so we defined a pubassym.cf for
	libc routines like setjmp and longjmp.

	NetBSD/mips allows ${ARCH}'s to be defined which preserve
	all 64-bits of registers across user context switches.  There
	are still a few niceties to clean up for kernel mode context
	switches.

* Support for QED 52xx processors
    Affected Files:
	mips/locore_mips3.S mips/pmap.c include/locore.h

    Issue:
	The QED 52xx family of processors are targeted at low cost
	embedded systems, (i.e. CPUs ~$30) for systems like routers, printers,
	etc.  We have added preliminary support for some of the idiosyncrasies
	of this processor, e.g. no L2 cache, etc.  More work needs to be
	done here because with a modest 2-way  L1 cache, some of the rampant
	flushing has significant performance implications.  However,
	it doesn't crash, which is a start.

    Solution:
	A routine for flushing the cache based on virtual addresses was added;
	a routine which deals with the two-way set associativity of the
	5230 L1 cache was added, accomodations to 5230's instruction hazards
	were added.


* TLB Miss code for mips3/mips4 processors cleaned up significantly.
    Affected Files:
	mips/locore_mips3.S mips/vm_machdep.c include/locore.h mips_machdep.c
    Issue:
	The TLB Miss handler exceeded the allowed size, which wasn't
	a problem because there was no handler for when the processor
	was in 64-bit mode.  The handler for invalid TLB exceptions
	also appears to have much vestigial code, which made it
	difficult to understand.

    Solution:
	Use the XCONTEXT register to store a pointer to the segment
	map table, this coupled with removing some dead code allows
	the handlers to fit.
1999-01-15 01:23:12 +00:00
mrg
bb4584ec40 look for /^Version:/ to find the boot block version, rather than using
the "version" file's RCS id (which is useless for branches).
1999-01-15 00:48:03 +00:00
pk
6a8119ff1d Sanity check from Matthias Drochner. 1999-01-15 00:26:24 +00:00
thorpej
d8f3aefec7 Use M_RAIDFRAME. 1999-01-14 22:49:05 +00:00
thorpej
71242ada70 Add M_RAIDFRAME. 1999-01-14 22:38:41 +00:00
oster
4128f9df1e Duh... check that malloc() hasn't returned a NULL *before* we zero the buffer,
not after. Pointed out by Michael Graff.
1999-01-14 20:29:38 +00:00
castor
a6f7b8ff0e Add defopt opt_mips_cache.h and allow 'clock' device to not require the mc6xx files 1999-01-14 18:51:31 +00:00
castor
a84ec5a3c1 * Create mips_reg_t data type to allow register size to be
decoupled from long or int or long long.  Define macros in asm.h to facilitate
  choosing these on a port by port basis.

* Create <machine/pubassym.h> mechanism to allow jmp_buf structure size
  to be calculated at system build time.

* Define _MIPS_BSD_SIM macro which specifies what calling style is appropritae
  for the architecture.  For 64-bit oriented systems set the Status Register
  to allow 64-bit instructions.

* Remove UADDR related macros because kernel U structure is now mapped
  normally.
* Separate cpu.h into cpu.h and cpuarch.h to keep things neat.
* Add support for QED 52xx processors
1999-01-14 18:45:45 +00:00
jtk
77b1ebc172 fix gcc complaint about assignment in truth value 1999-01-14 15:00:38 +00:00
pk
0372e36e3f device_register: recognize lebuffer' and isp' as controllers. 1999-01-14 13:08:24 +00:00
drochner
5c38fcea53 map the new "reset emulator" function to CTL-ALT-Backspace
(what somehow matches the effect on X11)
1999-01-14 11:57:48 +00:00
drochner
d90442b612 add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit
1999-01-14 11:44:54 +00:00
drochner
624d9f505f -actually reset the terminal emulator on close()
-add a callback to reset the terminal emulator by keyboard command
1999-01-14 11:40:58 +00:00
ross
5709f532d1 Random compile nits in BHADEBUG code. 1999-01-14 04:47:18 +00:00
cgd
ba831d2c43 update for present reality 1999-01-14 04:44:23 +00:00
cgd
f3c3f37dc8 update for ed split 1999-01-14 04:26:46 +00:00
thorpej
b29e386709 Domains are associated with protocol families, not address families. 1999-01-14 01:28:23 +00:00
thorpej
4b0e6bb4dc Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
thorpej
54cabada51 Garbage-collect some straggling netimp stuff. 1999-01-14 01:14:01 +00:00
sommerfe
465d57ee26 Commit fix from PR1623 1999-01-13 23:41:29 +00:00
sommerfe
114c430bbb Allow lkm's to include symbols for use by DDB. 1999-01-13 23:06:28 +00:00
thorpej
8f2d1414aa Pull in ip_ipip.c if ipip | mrouting, and use needs-flags instead of
needs-count.

XXX This generates an NMROUTING in ipip.h, too, but that's harmless.
1999-01-13 23:02:48 +00:00
thorpej
98d3903da8 Use the count supplied to the pseudo-device attach routine to dynamically
allocate (once) the ipip_softc array; don't assume NIPIP contains the count.
1999-01-13 23:01:20 +00:00
pk
de7b3f5492 Add `bus_space_subregion()' which was curiously missing. 1999-01-13 20:48:40 +00:00
pk
53c6ccd94d Add `eccmemctl' entry. 1999-01-13 20:35:30 +00:00
augustss
14dff70fa3 Fix transpostion in translation table for XT scan codes. 1999-01-13 18:38:26 +00:00
drochner
23cfea8327 -implement new wscons font handling with separate download and selection
calls
-support use of 2 fonts simultanously; this costs the ability to
"highlight", ie to use the upper 8 colours
-define screen types "80x25bf" and "80x50bf" which use this ability
-add conditional code to deal with the weird mapping of pcvt's
supplemental fonts
1999-01-13 16:48:58 +00:00
drochner
58095dfd3b change the way fonts are handled: now we have a display-global ioctl
to download fonts and a per-screen call to select a font
allows easier sharing of ressources in the display driver
change the parameters to the load_font driver vector to pass all
available font information
1999-01-13 16:21:02 +00:00
drochner
b50830062b export functions to reset the emulator and the character mappings 1999-01-13 15:38:30 +00:00
drochner
2bfadc6a8d add a hook for resetting the terminal emulator completely or partially 1999-01-13 15:30:59 +00:00
leo
7b74d44255 As Ignatios suggested:
Use CCB when dealing with a 68040 type MMU (for cache consistency).
1999-01-13 12:17:15 +00:00
christos
e79b8222a6 Put back modem control ioctl's 1999-01-13 11:55:20 +00:00
augustss
79f94410b1 Back out previous fix and apply the patch from Nick Hibma the right way. 1999-01-13 10:33:53 +00:00
itohy
cd16d23d21 Make it compile again.
Use err(3) functions.
KNF
1999-01-13 10:23:40 +00:00
augustss
8d6f121902 Fixes from Nick Hibma. 1999-01-13 10:08:59 +00:00
abs
1e21e1233b Change 'from from' to 'from' in some comments 1999-01-13 09:25:59 +00:00
tsubai
12d2afa11a Use KS_KEYCODE macro. 1999-01-13 08:13:41 +00:00
abs
4b0a936711 fix void arithmetic 1999-01-13 04:19:08 +00:00
wrstuden
872d72e705 In nullfs_mount, we need to check if error before VOP_UNLOCK(vp,0) as
vp is initialized iff error==0 in null_node_create.
1999-01-13 01:51:37 +00:00
augustss
d0a7575025 More things to do. 1999-01-12 22:07:45 +00:00
augustss
b8f2118f7c Fix Z axis buglet. 1999-01-12 22:06:48 +00:00
tsubai
3bc029b332 Add ``#include "akbd.h"''. 1999-01-12 15:12:44 +00:00
christos
b62b5bc092 Make this compile again with -DDEBUG 1999-01-12 12:49:53 +00:00
tsubai
5998caa414 Support irq > 31.
XXX dirty hack...
1999-01-12 12:06:46 +00:00
tsubai
c2bb308ef9 Use (fast!) dcbz asm instruction in pmap_zero_page(). 1999-01-12 11:03:04 +00:00
tsubai
bb426487a5 Move MSGBUFSIZE from machdep.c to param.h
Use the last page for msgbuf instead of fixed MSGBUFADDR.
1999-01-12 10:51:40 +00:00
tsubai
90a73bba2c Always use polling when poweroff/restart. 1999-01-12 10:38:00 +00:00
tsubai
4293e4ff3c Use the last available page(s) for msgbuf. 1999-01-12 10:26:18 +00:00
kleink
22fc60a59a Separate the userland and libsa errno declarations from <sys/errno.h> into
their canonical places.
1999-01-12 03:08:14 +00:00
kleink
a9b05361c1 Avoid arithmetic on void *. 1999-01-12 02:28:55 +00:00
kleink
4ff7b1f346 Add symbolic names for the sys_context() subcodes. 1999-01-12 02:09:18 +00:00
thorpej
0272b2ab8e Whole lotta cleanup wrt. how configuration data is stored internally, and
just lockmgr(), not our home-grown locking functions.
1999-01-12 00:21:47 +00:00
kleink
bb6c814341 If a null pointer argument is passed to setcontext(), exit the process; it
would appear that overloading the argument this way is used by SVR4 to `fall
off' the main context (uc_link being NULL) after a function set up using
makecontext() returns.
1999-01-12 00:16:40 +00:00
augustss
76b8bd8961 Add a (partial) list of what's left to do. 1999-01-11 22:46:51 +00:00
tron
edd69ba694 Because memory mapped access doesn't fail only with the docking station
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.
1999-01-11 22:45:41 +00:00
thorpej
555784ccd5 Fix byte order and ip_len inconsistencies in ICMP reply code. Also, fix
some formatting and HTONS(foo) vs. foo = htons(foo) inconsistencies.

PR #6602, Darren Reed.
1999-01-11 22:35:06 +00:00
kleink
657d577aeb Pull in <errno.h> instead of <sys/errno.h> for declaration of errno. 1999-01-11 22:21:30 +00:00
thorpej
67e9d2a3bf Fix a few glitches in the nwscons tga driver, PR #6655, Brett Slager. 1999-01-11 22:11:36 +00:00
thorpej
ae8a556ce5 Add missing XS_SELTIMEOUT case in user command completion path, returning
SCCMD_TIMEOUT.  Based on PR #6720, Andreas Wrede.
1999-01-11 22:07:08 +00:00
drochner
35eeb3f1cd remove dummy "load_font" entries 1999-01-11 21:54:22 +00:00
drochner
1eba733d91 remove dummy "load_font" entries 1999-01-11 21:35:54 +00:00
thorpej
e6d404b372 Add declarations for the `ipip' network pesudo-device, which implements
IP-in-IP tunnels.
1999-01-11 21:33:02 +00:00
thorpej
6ae68b4feb Pull the IP-in-IP tunneling support out of the GRE code. It's not handled
by a separate IP-IP input path.

XXX Should eventually do the same thing for IPPROTO_MOBILE.
1999-01-11 21:32:13 +00:00
thorpej
9508f259bf Adjust for the new IP-IP input path. mrt_ipip_input() is called from
ipip_input(), and returns non-zero if mrt_ipip_input() handled the
packet.

XXX Eventually, the multicast code should probably use regular IP-IP
XXX `interfaces', but mrouted knows about the VIF table, etc.
1999-01-11 21:31:03 +00:00
thorpej
9d996b9e4e Adjust for the new IP-IP input path. 1999-01-11 21:28:28 +00:00
thorpej
9f9be750f6 Separate out the IP-in-IP implementation from the GRE code. This cleans
up the interface to ip_mroute.c somewhat, and properly separates IP-IP
from GRE.  (They are similar, but they are different protocols, and should
not be implemented in the same place.)
1999-01-11 21:26:53 +00:00
thorpej
8406f65cbf Use a pool for pmap structures. 1999-01-11 20:58:46 +00:00
drochner
33b1cd5328 Oops, "square root" is Unicode 221a, not 211a! 1999-01-11 20:48:10 +00:00
drochner
2379551296 add 2bpp support, for sake of NeXT monochrome displays, from
matt debergalis <deberg@mit.edu> KB1CTH per PR kern/6741 and kern/6786,
minimally corrected
1999-01-11 11:08:14 +00:00
christos
e0c19ac888 We cannot relocate our interpreter (yet). 1999-01-11 11:02:50 +00:00
christos
e293d1bc34 Add ELF crap. 1999-01-11 11:02:16 +00:00
tsubai
c91ac313c1 Count clock interrupts. 1999-01-11 09:44:51 +00:00
tsubai
477add6bea Add irq32 - irq63 to intrnames. 1999-01-11 08:49:58 +00:00
eeh
39553be254 Finally fixed 64-bit signal trampoline. 1999-01-11 06:43:51 +00:00
eeh
1609884456 Handle the symbol table properly in a 32-bit kernel that was booted from a
64-bit bootloader.
1999-01-10 23:35:08 +00:00
eeh
9c06e4a454 Need to put IGN in SBUS slot interrupt vectors as well. (From Kapil Chowksey) 1999-01-10 23:32:57 +00:00
scottr
c6be16c55a Parenthesize a few expressions uncovered by -Wpointer-arith. 1999-01-10 22:52:55 +00:00
nathanw
d2f4d39a08 wskbd, not wskbs. 1999-01-10 22:51:46 +00:00
augustss
5c5590465e Avoid `void *' arithmetic. Fixes PR 6783. 1999-01-10 21:57:19 +00:00
tron
3fbb44a7bb Make MTIOCRDSPOS, MTIOCSLOCATE, etc. work with write protected tapes.
Patch supplied by Dave Huang in PR kern/5305.
1999-01-10 21:46:39 +00:00
eeh
b5932bbc0a Support little-endian bus mappings. 1999-01-10 19:37:47 +00:00
is
4d5a26ba82 Make this compile again. 1.5 was committed from the wrong directory.
We apologize for any inconvenience caused.
1999-01-10 19:19:57 +00:00
augustss
f963dc8ddb Some minor updates from FreeBSD. 1999-01-10 19:13:15 +00:00
augustss
af7f630631 Some patches from FreeBSD. 1999-01-10 18:42:10 +00:00
augustss
ebd59cb48c Make sure to check the modifier map for the windows keys. 1999-01-10 18:36:57 +00:00
augustss
c437dc4229 Remove redundant test if the unit numbers is in range. 1999-01-10 18:22:14 +00:00
augustss
d47a7fb7e0 Rename the "windows" keys and add the new keys to the keyboard maps. 1999-01-10 16:56:35 +00:00
augustss
17570494a7 Add back a line that was lost somehow. 1999-01-10 16:38:54 +00:00
tron
f7f56f986f Revert last changes:
Because "linux_ipccall.h" cannot be included before "sys/shm.h" and
"sys/shm.h" needs to be included after "opt_sysv.h" include "opt_sysv.h"
in "linux_ipccall.c" again.
1999-01-10 15:05:36 +00:00
mrg
7054d69a2a KNF nits i have sat on for too long. 1999-01-10 15:01:32 +00:00
mrg
17823d385b KNF nits i have sat on for too long. 1999-01-10 14:41:45 +00:00
drochner
9b1eddc4f1 - Set up the interface watchdog timer on sends. This fixes the hangups
reported by Matthias Scheler <tron@lyssa.owl.de> in PR kern/6772.
- After receiving, check whether the receive DMA pointer became 0
  what obviously happens if the list runs out of entries. Simply reinit
  in this case. This fixes receive lockups after DDB use observed
  by myself.
  Unstall the receive engine if the ELINK_UPPKTSTATUS indicates that it
  was stalled. (Don't know when this might happen. FreeBSD does so.)
1999-01-10 14:19:46 +00:00
mrg
d1f3239be8 bump size of miniroot 1999-01-10 13:40:30 +00:00
tron
560ed63047 Don't use void pointer for arithmetic. 1999-01-10 13:35:39 +00:00
tron
738cd778b3 Don't use void pointer for arithmetic. 1999-01-10 13:24:11 +00:00
tron
72a366c304 Don't use void pointer for arithmetic. 1999-01-10 13:22:05 +00:00
augustss
851c51418d Add definitions for Pause and Print_Screen keys.
(Why were these keys missing?  Or am I missing something obvious here?)
1999-01-10 13:20:41 +00:00
drochner
a15a03eff2 Since ukbd has an own map, this file is not needed anymore. 1999-01-10 13:20:21 +00:00
tron
a2885c9c15 Don't use void pointer for arithmetic. 1999-01-10 13:17:01 +00:00
augustss
fe099e481b Add definitions for left and right "Windows" keys and menu key. 1999-01-10 13:14:42 +00:00
augustss
3fb390a04f Fix buglets in translation to raw scancodes. 1999-01-10 13:11:25 +00:00
tron
386665b0cb Don't use void pointer for arithmetic. 1999-01-10 12:56:25 +00:00
tron
4920c92937 Don't use void pointer for arithmetic. 1999-01-10 12:37:17 +00:00
augustss
07e0165b97 Update/add URLs to relevant USB specs. 1999-01-10 11:13:36 +00:00
augustss
9e121cf158 Add ukbdmap.c. 1999-01-10 11:09:02 +00:00
tsubai
8190b5f43f Add sanity checks in akbd_cnattach(). 1999-01-10 10:39:13 +00:00
tsubai
ae67dbc85d Fix void * arithmetic. 1999-01-10 10:24:16 +00:00
augustss
ddb8209b40 XXX Add a disgusting hack to make the CS sound chips work in PnP mode.
XXX Read about it in isapnp.c.
1999-01-10 10:23:24 +00:00
augustss
1a68014a66 Move a declaration. 1999-01-10 10:17:54 +00:00
tsubai
0280ba028c Fix void * arithmetic. 1999-01-10 10:13:15 +00:00
mjacob
ec1a086c80 Make the error condition of neither 0x70 or 0x71 error codes a tad
more informative than the lower case 'error code %d'.
1999-01-10 06:26:23 +00:00
mjacob
e618c0c7d7 turn on SBUS bursts 1999-01-10 06:22:12 +00:00
mjacob
9d702f60ed + Some basic deadchip detection.
+ Enable FIFO bursts, but also detect bogus 1040A with busted FIFO.
+ Use new MEMZERO crossplatform define.
+ Handle RQCS_QUEUE_FULL status case and let upper layer parse SCSI ststus
  byte if nonzero (should be 0x28- Queue Full status)
+ Fold ISP_NVRAM_FIFO_THRESHOLD_128 into isp_fifo_threshold tag.
1999-01-10 05:07:53 +00:00
mjacob
f1dfa06e13 bump isp_fifo_threshold tag top 3 bits 1999-01-10 05:04:46 +00:00
mjacob
b503bb5337 cross platform define MEMZERO added 1999-01-10 05:04:18 +00:00
jonb
5a8a1a4dd6 clean up some incorrect comments 1999-01-10 03:46:27 +00:00
mjacob
4401c8bdd7 oops. Forgot to turn on PCI burst. 1999-01-10 03:41:47 +00:00
mjacob
b7a8ca1386 For some reason (I don't know why nobody else has seen this)
egcs-2.91.57 didn't like the void * subtraction on line 904.
I'll risk everyone's wrath by casting around it.
1999-01-10 03:16:21 +00:00
augustss
b2acf0b9f2 Change from bcopy/bzero to memxxx. From PR 6778 by
Erik Bertelsen <erik@q610.ebe.uni-c.dk>.
1999-01-10 00:28:21 +00:00
augustss
17e4ccc73d Use a special map for USB key code translation instead of first translating
to an XT scancode and then to the wscons code.
XXX The XT translation is still available in "raw" mode.
1999-01-10 00:23:32 +00:00
eeh
b0d71d3042 Properly check address returned by OBP for errors in prom_map_msgbuf(). 1999-01-09 23:33:29 +00:00
eeh
42c40a2cd6 More signal fixup. 1999-01-09 23:31:27 +00:00
eeh
09a4a08b77 New style bootpath propagation to match the sparc port. 1999-01-09 23:23:47 +00:00
eeh
d5ca0ef2e6 Don't use long' instead of int64_t' since the latter may not be in scope. 1999-01-09 23:15:39 +00:00
eeh
f9a429d960 Establish a single set of definitions for signal debugging so we don't have
a different one for every emulation.
1999-01-09 23:12:36 +00:00
mark
a82d8b0a33 Fix void * arithmetic. 1999-01-09 22:56:06 +00:00
thorpej
e598335d1c Garbage-collect `mbutl'. 1999-01-09 22:10:12 +00:00
thorpej
99d93cb85e Garbage-collect union mcluster' and mclfree'. 1999-01-09 21:54:07 +00:00
thorpej
a0597b3de9 Garbage-collect mtocl() and cltom(). They're no longer used, and don't
work with pool'ified clusters anyhow.
1999-01-09 21:52:08 +00:00
thorpej
d70bb64a38 Use M_LINK{0,1} for our own mbuf flags, rather than arbitrarily picking
2 bits.
1999-01-09 21:47:09 +00:00
mark
444401c526 Fix `void *' arithmetic. 1999-01-09 21:18:54 +00:00
mark
e6361430fc Fix `void *' arithmetic in bcopy() calls. 1999-01-09 21:10:50 +00:00
mark
e9afce801e Fix `void *' arithmetic. 1999-01-09 21:04:00 +00:00
itohy
33df770bf5 Avoid `void *' arithmetic. 1999-01-09 19:55:58 +00:00
itohy
b50a4adc36 Eliminate `void *' arithmetic. 1999-01-09 19:23:26 +00:00
thorpej
e279508ccb In pmap_zero_page() and pmap_copy_page(), set copyback caching of the
pages on the 68040 and 68060, to avoid cache consistency problems (since
regular mappings are copyback cached as well), per Ignatios Souvatzis.
1999-01-09 18:40:12 +00:00
drochner
422d1bfb5d implement the option to swap left CTL and caps lock key, from
URA Hiroshi <ura@yamato.ibm.co.jp> per PR kern/6775
1999-01-09 16:21:10 +00:00
drochner
a2b9f1ba6e add a definition for the "swap ctl and caps" option 1999-01-09 16:18:38 +00:00
drochner
5639141200 add ioctl()s for screen allocation/deallocation 1999-01-09 15:44:45 +00:00
drochner
a541ccbcb2 rename "struct wsdisplay_conf" -> "struct wsscreen_internal" to reflect
its real meaning
support allocation and deallocation of virtual screens at runtime
implement a "control device" (minor number = 255) and ioctl()s for screen
 allocation/deallocation
minor fixes to consistency checks / error handling
1999-01-09 15:42:34 +00:00
drochner
98e630dbe0 Allow to deallocate also the currently visible virtual screen (unless
it is the console).
This requires vva_show_screen() to catch the case where it has no screen
to switch from, ie no need to save the current state.
1999-01-09 15:29:26 +00:00
augustss
9b3e9f45bf A minor fix for FreeBSD. 1999-01-09 12:16:54 +00:00
drochner
c3283b267e there is no "cnattach" member in "struct wskbd_accessops" (yet?) 1999-01-09 12:10:36 +00:00
dbj
e41d023363 Moved optional devices out of std.next68k and put them in GENERIC instead.
This is patch supplied in pr 6725.
1999-01-09 05:08:54 +00:00
thorpej
268eb959c4 Make this compile again after the void * arith changes. 1999-01-09 03:16:17 +00:00
thorpej
1a56840ec0 Make this compile again after void * arithmetic changes. 1999-01-09 03:05:19 +00:00
thorpej
c35b8b591b One more cosmetic change, from Izumi Tsutsui. 1999-01-08 19:55:17 +00:00
augustss
fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
augustss
0d32a9a78b Fix more `void *' arithmetic. 1999-01-08 19:22:34 +00:00
augustss
332d7c138f Avoid arithmetic on `void *' since that's not ANSI C. 1999-01-08 18:10:35 +00:00
kleink
5f79ea56a1 Rearrange the emulation-specific setregs() entry to set up the FPU control
word *after* calling the native setregs(), which would clobber it again.
1999-01-08 11:59:38 +00:00
augustss
875aa92d2c Various little fixes from the FreeBSD version. 1999-01-08 11:58:25 +00:00
augustss
d7154c29c9 Regen. 1999-01-08 11:19:57 +00:00
augustss
5ea77d0457 Remove some non-products. 1999-01-08 11:18:38 +00:00
pk
9d4c26b2c1 * hypersparc support:
get cache size from PROM info like the others
	reset the cache type bits before setting our desired values
* smp cache flushing:
	protect the cpu message bits with splhigh().
1999-01-08 10:15:10 +00:00
leo
c754d06437 Return NULL when trying to establish a non-EDGE_TRIGGERED interrupt.
This can be used by drivers to choose another type. Currently used in
isnd4bsd.
1999-01-08 09:29:17 +00:00
leo
be84171b70 Make the abs_copy functions usable. The previous implementation caused
kernel "jump to zero" panics....
1999-01-08 09:25:33 +00:00
leo
cf88e51c7b Modifications of pmap_zero_page() and pmap_copy_page() inspired by recent
work from Jason Thorpe on the hp300 pmap.c.
Nuke the usage of the port-specific functions in favour of the m68k functions.
1999-01-08 09:20:37 +00:00
thorpej
289b2e154f In pmap_zero_page() and pmap_copy_page(), don't bother invalidating the
mappings for CADDR1 and CADDR2, unless we're built w/ -DDEBUG.  Since
these addresses are only used in these routines, we can "lazily invalidate"
them by just using them again.  This makes these routines a teeny bit faster,
as it saves 1 or 2 TBIS's per call.

Suggested by Leo Weppelman <leo@netbsd.org>.
1999-01-08 05:15:43 +00:00
augustss
d8a5db5c2c Regen. 1999-01-07 22:30:36 +00:00
augustss
df6da0d80b Generate appropriate RCS headers. 1999-01-07 22:18:23 +00:00
augustss
012d8f3eab Fix typo in FreeBSD part of the code. 1999-01-07 22:12:08 +00:00
augustss
86f2e214ed Add some line continuations in the FreeBSD part of the file. 1999-01-07 22:09:00 +00:00
leo
8581f9db0d Implement short-term solution for PR#6576 1999-01-07 15:03:36 +00:00
augustss
2fba866c77 On popular demand, back out the generation of a FreeBSD ID. 1999-01-07 03:27:26 +00:00
augustss
e4b5e096e8 Fix some FreeBSD compiler warnings. 1999-01-07 02:22:50 +00:00
augustss
07b2b872de Fix some pastos. 1999-01-07 02:22:20 +00:00
augustss
8b76024ac9 regen. 1999-01-07 02:18:10 +00:00
augustss
1f1524514a Ooops, I didn't mean to commit that. Back out. 1999-01-07 02:06:05 +00:00
augustss
02369a7cd2 Add another paranoia test in the interrupt routine. 1999-01-07 01:59:24 +00:00
augustss
1e0c9685af Add a copyright header. 1999-01-07 01:57:11 +00:00
augustss
65a13df4e6 Generate FreeBSD RCS id as well. 1999-01-07 01:54:28 +00:00
augustss
028aac1137 Add Micro$oft Intellimouse. 1999-01-07 01:51:12 +00:00
nisimura
6ebba254e7 - Put comments on several DDB helper routines. 1999-01-07 00:36:09 +00:00
thorpej
52fa7c35ac Add pcscp driver. 1999-01-06 23:43:30 +00:00
thorpej
cd93f8dfc9 - Add adv and adw SCSI controllers, commented out, as they do not yet
work.
- Add USB stuff.
- Add new pcscp SCSI driver.
- Comment out wss driver, as the configuration listed hangs some systems
  cold.
1999-01-06 23:42:27 +00:00
thorpej
2a3368ed6e Add the `pcscp' driver. 1999-01-06 23:30:53 +00:00
thorpej
3dc31bab2f Device declaration for the PCscsi-PCI SCSI chip driver. 1999-01-06 23:25:53 +00:00
thorpej
671d0ae88d Device driver for the AMD Am53c974 PCscsi-PCI SCSI chip (i.e. the chip used
on the Tekram DC-390 SCSI cards), from Izumi Tsutsui, PR#6654.  Minor
cosmetic changes by me.
1999-01-06 23:23:33 +00:00
thorpej
71c86e3e92 Changes to NCR53c9x driver necessary to add support for the AMD Am53c974
PCscsi-PCI SCSI controller.  From Izumi Tsutsui, PR #6654.
1999-01-06 19:19:38 +00:00
ragge
bc0985cb97 Make SCSI work on VS3100/m76 also. From "maximum entropy". 1999-01-06 14:54:45 +00:00
lukem
0e36738ca6 add copyright 1999 1999-01-06 13:51:09 +00:00
drochner
69d3aa9606 don't install wskbdmap_mfii.h to userland 1999-01-06 12:24:51 +00:00
drochner
d8a0ea9858 correct a comment about implemented keyboard layouts 1999-01-06 12:17:49 +00:00
drochner
ed3f310c95 use new KS_KEYCODE macro from wsksymdef.h 1999-01-06 12:04:09 +00:00
drochner
1cd0f92455 add british keymap, from Patrick Welche per PR kern/6735
use new KS_KEYCODE macro from wsksymdef.h
1999-01-06 12:01:09 +00:00
christos
6434d50bd2 Fix 3 problems with the new signature code:
- don't set position to 0, set it to NO_ADDR (cgd)
- no need to malloc size + 1 bytes (cgd)
- fix calculation of minimum note size section.
1999-01-06 11:52:53 +00:00
drochner
f8402fc0be add definition for british keyboard 1999-01-06 11:45:12 +00:00
scottr
faabac8cce Update video-related RBV constants to reflect reality. 1999-01-06 07:16:56 +00:00
scottr
46b2a0ebce Add RBV monitor sense code (formerly commented out in rbv_vidstatus())
to the match function, and print out more detailed information when
attaching RBV video.
1999-01-06 07:08:19 +00:00
scottr
e91873be5f G/C rbv_vidstatus() and related constant. 1999-01-06 05:54:38 +00:00
nisimura
9df51b1b1f - Complete vm_offset_t purge for DECstation. 1999-01-06 04:18:53 +00:00
nisimura
858e67e157 - Complete vm_offset_t purge for mips processor.
- bzero() -> memset() and bcopy() -> memcpy().
- Garbage collection in trap.c and db_interface.c.
1999-01-06 04:11:25 +00:00
briggs
1082c49b69 Fix PR port-mac68k/6665 from Paul Goyette with some minor mods.
Cast values is bus_space macros to the appropriate types so we end up
with valid assembly.
1999-01-06 03:06:45 +00:00
jonb
95a1be90da Add a new kernel config, and use it as a quick non-intrusive test to see
if I know how to drive CVS...  Hope this is easy to fix if I screw it up!
1999-01-06 02:30:58 +00:00
augustss
363ea8b7ff Regen. 1999-01-04 22:41:58 +00:00
augustss
67e990eed1 Add USR 56K Faxmodem, from jbernard@ox.mines.edu in PR 6729. 1999-01-04 22:39:42 +00:00
is
bfb7f2aaf3 Multisession-CD-Support, by Torsten Duwe <duwe@ns.lst.de>. 1999-01-04 15:32:08 +00:00
augustss
87121c3217 Regen. 1999-01-03 23:57:11 +00:00
augustss
c3ddc00ec9 Add an Acer scanner. 1999-01-03 23:55:01 +00:00
mark
a857bdefb8 Guard get_device() and prototypes for set_root_device() and get_device()
with #ifndef MEMORY_DISK_IS_ROOT.
1999-01-03 20:13:45 +00:00
minoura
7b7ab5a123 UVM is now default for GENERIC. 1999-01-03 14:48:15 +00:00
veego
0e281644ed Enable fdboot again. 1999-01-03 12:46:31 +00:00
augustss
3744944266 Regen. 1999-01-03 11:06:31 +00:00
augustss
d621c7bd68 Add Kensington Mouse-in-a-Box. 1999-01-03 10:56:33 +00:00
erh
5c1e9076ad Make consistent: si_ -> lsi_ 1999-01-03 05:34:39 +00:00
erh
b19295f334 Speed up compilation by #include-ing C files from common into one file. 1999-01-03 05:29:31 +00:00
erh
d9a22c586a Undo previous: Put back opt_sysv.h 1999-01-03 05:18:01 +00:00
erh
f1a0e1b396 Avoid name clash with standard si_{uid,pid} fields. 1999-01-03 04:53:59 +00:00
erh
5422cb89d9 Moved sysv opt include to header file. 1999-01-03 04:30:56 +00:00
erh
1c185123d4 Regen. 1999-01-03 04:27:10 +00:00
erh
2f64a3eccc Protect the syscallargs header file with a define. 1999-01-03 04:25:26 +00:00
erh
4289065a1b Moved opt include to header file. 1999-01-03 03:54:45 +00:00
erh
41590f69e2 Grab the sysv options. 1999-01-03 03:52:22 +00:00
mark
3ad92d6f24 Declare get_device() and set_root_device() as static and prototype them
here.
1999-01-03 02:24:56 +00:00
mark
9b3c03f9cc Update for name change of pv_addr_t structure members. 1999-01-03 02:23:27 +00:00
mark
e0d2ec153f Rename the members of the pv_addr_t structure to make them more
meaningful and to avoid C++ name clashes. Fixes PR port-arm32/6365.
1999-01-03 02:19:32 +00:00
augustss
497a2c58c3 Regen. 1999-01-03 01:15:01 +00:00
augustss
c5412a11a4 Minor changes. 1999-01-03 01:12:41 +00:00
augustss
302f42d891 Add more CDC definitions. 1999-01-03 01:09:18 +00:00
eeh
aae0096c7c More signal handling fixups. 1999-01-03 01:08:51 +00:00
augustss
6d990bf7f3 Add an ugly workaround for a bug (feature) in the NetBSD open()/close()
protocol.
1999-01-03 01:03:22 +00:00
augustss
bf1154922d Add a length paarmeter to usbd_do_request_flags(). 1999-01-03 01:00:56 +00:00
dbj
c67d9eac9d Applied supplied patches from pr port-next68k/6709
add bus_space support for mono framebuffer
1999-01-02 13:42:17 +00:00
dbj
0f11abef49 Aded include for files.wscons so changes from pr 6707 to conf.c compile. 1999-01-02 13:30:45 +00:00
dbj
bb1f20f1fa Reformatted changes from previous patch to match style guidelines. 1999-01-02 13:23:31 +00:00
dbj
70b3738d46 applied patch from pr port-next68k/6708: add wscons devices to next68k MAKEDEV 1999-01-02 13:14:18 +00:00
dbj
99c914d1be Added check that M68040 is defined in case user interrupted creation
of assym.h, leaving it empty.
1999-01-02 13:03:20 +00:00
dbj
48d4303235 applied patch from pr port-next68k/6704: next68k zs driver formatting error
zs driver needs to print a newline.
1999-01-02 12:47:50 +00:00
ragge
d0e7a99a8a Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.
1999-01-01 21:43:17 +00:00
ragge
1678119a36 A little better support for 'trace' command. 1999-01-01 21:25:03 +00:00
thomas
872b1a1f2a PCI I/O Start 16k because some devices allow only addresses
up to 64k.
1999-01-01 19:54:52 +00:00
christos
000c8bbf35 Regen 1999-01-01 19:30:52 +00:00
christos
512db6124c Add Xircom Netwave driver from Michael Eriksson 1999-01-01 19:30:03 +00:00
augustss
c1edefd961 Fix bug in reading from interrupt pipe.
Make read and write on bulk pipes interruptible.
1999-01-01 15:31:24 +00:00
augustss
df2d00dcff Add more structs. 1999-01-01 15:28:24 +00:00
augustss
16a2a55378 Add usbd_bulk_transfer(), a function to do interruptible transfer that
do not time out.
1999-01-01 15:25:57 +00:00
augustss
b7ae463e9f Fix bug setting up endpoint descriptors for an interface. 1999-01-01 15:21:42 +00:00
augustss
a02f8e62f5 Add uDWord type for 4 byte USB structure fields. 1999-01-01 15:18:17 +00:00
augustss
bf9647a056 Set the correct transfer count on interrupt transfers. 1999-01-01 15:15:33 +00:00
christos
dfd0f0f949 PR/6669: Michael Eriksson: pcic_chip_mem_alloc() can't handle large requests 1999-01-01 14:05:18 +00:00
mark
1eb9f63a3c bzero() -> memset() and bcopy() -> memcpy(). 1999-01-01 12:42:47 +00:00
mark
4a23b01275 Tidy up this file. 1999-01-01 12:41:13 +00:00
mark
04d8f160e7 bzero() -> memset() and bcopy() -> memcpy(). 1999-01-01 12:40:39 +00:00
mark
cc829bbdde Sync with reality. 1999-01-01 12:13:49 +00:00
mark
d235c19724 This file has been replaced by makemodes.awk. 1999-01-01 10:28:57 +00:00
mark
97036bd92c Use makemodes.awk to parse the MDF files rather than building a custom
binary from makemodes.c. This makes cross compiling simpler.
1999-01-01 10:28:16 +00:00
mark
8b0bd1ca77 Initial commit of awk replacement for makemodes.c
This is an awk script to parse an Acorn Monitor Definition File and
generate a C file containing the selected mode timing parameters.
Read the comments at the start of the file for details on use.
This file replaces makemodes.c
1999-01-01 10:26:41 +00:00
augustss
87f8cbd14e Add a Communication Class header file. 1999-01-01 07:43:13 +00:00
tsubai
13529d1878 bmac ethernet driver. (tested on iMac. only 10Base-T works.) 1999-01-01 01:27:52 +00:00
mark
2197d0696d The scsipi_adapter structure is part of the sfas_softc structure
rather than the csc_softc structure.
1998-12-31 09:44:42 +00:00
mark
14a36628f5 Add a missing semi colon. 1998-12-31 09:37:12 +00:00
augustss
3a16b606a6 Implement autorepeat in raw keyboard mode. 1998-12-30 19:25:27 +00:00
augustss
a971be193b Add USB keyboard type. 1998-12-30 19:15:11 +00:00
augustss
20f51aae57 Split usbd_delay_ms() into two functions, one can be used in
device drivers.
1998-12-30 18:06:25 +00:00
augustss
87fea0705b Implement raw keyboard mode for X. 1998-12-30 18:03:37 +00:00
augustss
85ff7a3234 Fold line. 1998-12-30 17:48:48 +00:00
augustss
3b9a669a7d Remove #include that slipped in at FreeBSD merge. 1998-12-30 17:46:20 +00:00
augustss
503bbd973d Allow the wsmouse device to be opened for writing even if it is already
open, this way ioctl() can be performed on it and wsconsctl works.
1998-12-30 14:02:18 +00:00
augustss
44df4dcc85 Add a wscons display type `unknown' that the generic VGA driver can
return until someone fixes it for real.
1998-12-30 13:54:03 +00:00
hwr
446f262aa5 Regen 1998-12-30 13:50:42 +00:00
hwr
4d3847e0ea Add NeoMagic MagicGraph 128ZV graphic chip. 1998-12-30 13:49:49 +00:00
augustss
a4a02fda54 Make it compile without USB_DEBUG, fixes PR 6689. Patch from
taca@sky.yamashina.kyoto.jp (Takahiro Kambe).
1998-12-30 13:25:54 +00:00
augustss
0ae031028d Add a special wsmouse type for USB mice. 1998-12-30 13:14:21 +00:00
dbj
c96a4ad63d Continued work on esp driver. Now successfully identifies a scsi target.
Unfortunately, to get dma to work, we have to align past the end of
the buffer, which smashes other variables on the stack.
match function still disabled, as it isn't ready yet.
1998-12-30 12:02:03 +00:00
dbj
3fec12a459 Added parens around ADD_BYTES_LIM() macro definition to protects its
use of the low precedence ?: conditional operator.  This fixes a bug
in scsipi_interpret_sense when printing out debugging info.
1998-12-30 11:17:34 +00:00
augustss
85299e125c Regen. 1998-12-30 03:55:49 +00:00
augustss
cce7071d57 Add iMac devices. 1998-12-30 03:52:30 +00:00
dbj
d3e627398e changed register for start of dma buffer to be DD_NEXT_INITBUF instead
of DD_NEXT for regular dma transfers, and not just ethernet transmit.
Keep track of dma read/write direction and set it each time we start or
restart dma.  This allows scsi to work, and doesn't appear to hinder ethernet.
1998-12-30 03:05:29 +00:00
augustss
21e272bf01 Do not blindly assume that a device supports language id 0, instead
ask it what languages it supports.
1998-12-29 16:02:55 +00:00
augustss
c047e03d90 Update copyright to the TNF standard. 1998-12-29 15:57:46 +00:00
augustss
9bcfc24c6b Add some #if 0 code for keyboard console attachment. 1998-12-29 15:42:30 +00:00
augustss
5aa16bd113 Don't set configuration unnecessarily, some (broken) devices seem to break
if you do.
1998-12-29 15:33:10 +00:00
augustss
961d81ade7 Return more info in ioctl(USB_DEVICEINFO). 1998-12-29 15:27:16 +00:00
augustss
0f94f62616 The Peracom serial converter (like some other devices) claim to have
string descriptors, but gets very upset if you read them.
1998-12-29 15:23:59 +00:00
augustss
32f13388c5 Regen. 1998-12-29 15:21:33 +00:00
augustss
a7147eda73 Add Peracom serial converter. 1998-12-29 15:19:40 +00:00
augustss
6b5d35ee9d Minor change in a debug printf. 1998-12-29 14:29:53 +00:00
augustss
683fd3dfba Add some more useful #defines. 1998-12-29 14:27:33 +00:00
marc
9ada0bf40f check for end of tuple while reading cfe data 1998-12-29 09:03:15 +00:00
marc
0380eb8f98 added SVEC_LANCARD 1998-12-29 09:00:50 +00:00
marc
5d9e772403 added support for quirks based on cis strings, added quirk entry for SVEC_LANCARD 1998-12-29 09:00:28 +00:00
marc
0de74697c4 rebuilt from pcmciadevs 1998-12-29 08:59:14 +00:00
marc
b5f4f4dcfe add SVEC losing ethernet card 1998-12-29 08:58:37 +00:00
tsubai
bdf1b68276 iMac support (not complete yet). 1998-12-29 06:27:59 +00:00
tsubai
8a5e34f28a Fix a bug of last change. 1998-12-29 05:17:27 +00:00
augustss
47ff9e7c63 Implement short transfers. 1998-12-29 05:08:57 +00:00
tsubai
d5fc963f0e Add USB. 1998-12-29 04:40:19 +00:00
augustss
fe9a1b2b2d Implement short transfers. 1998-12-29 04:15:04 +00:00
augustss
3064141641 Make it possible to specify the request flags when issuing a raw USB request. 1998-12-29 03:13:10 +00:00
augustss
16b49a78c6 New USB attach args. 1998-12-29 03:09:48 +00:00
augustss
4c9147cd38 Remove part of the bigendian patch that was not supposed to be commited. 1998-12-29 03:01:44 +00:00
augustss
d4fa2978fa Imprive debugging message. 1998-12-28 21:05:47 +00:00
augustss
4386ae98b0 Send more information to USB attach routines so that they can claim
multiple interfaces.
1998-12-28 21:05:26 +00:00
augustss
dfad58d4e0 Change the host controller internal API a little and add some incomplete
support for isochronous transfers.
1998-12-28 20:13:59 +00:00
mjacob
d6cab14b00 clean up headers 1998-12-28 19:12:26 +00:00
mjacob
8ac99457db I mean *really* clean up headers 1998-12-28 19:12:04 +00:00
mjacob
b51e3fbf3c clean up headers; remove early revision 2100 workarounds 1998-12-28 19:11:32 +00:00
mjacob
e5e787230b clean up headers; move uninit/watch to outer layers 1998-12-28 19:10:43 +00:00
mjacob
9ccf227085 clean up header 1998-12-28 19:07:38 +00:00
augustss
c9cf2c5601 Fix typo. 1998-12-28 16:41:11 +00:00
augustss
1256add6be Update for new name in usb.h 1998-12-28 16:13:44 +00:00
hannken
bf9e279952 Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.
1998-12-28 13:48:24 +00:00
augustss
020a909cba Add a lot of byte swapping to get the code to work on big endian machines.
Patch from Tsubai Masanari <tsubai@iri.co.jp>.
Add an extra controller reset.  According to the OHCI spec it shouldn't
be necessary, but without some machines don't work.
1998-12-28 12:56:19 +00:00
augustss
3c6b7ccc2a Cosmetics. 1998-12-28 12:52:38 +00:00
augustss
f4133e9fae Update timing again (for bad devices). 1998-12-28 12:35:27 +00:00
mark
058cf2a88c Apply patch from PR port-arm32/6357 to make the wdc attachment to the
RiscPC mainbus work correctly.
From Richard Earnshaw.
1998-12-28 09:40:28 +00:00
mark
767af4d82c Add a check for r8 equal to 0 and do a quick exit if it is. 1998-12-28 09:39:02 +00:00