Commit Graph

43518 Commits

Author SHA1 Message Date
thorpej e573dbe78c We haven't used the 4.4BSD kadb stuff for a long time; garbage
collect it.
2001-01-16 04:34:47 +00:00
augustss 46130fb7e5 Add uyap. 2001-01-16 03:38:22 +00:00
augustss 6fe782cff1 Use the real Y@P firmware. Permission granted by Kamal Parmar,
<kamal@siliconportals.com>, at Silicon Portals.
A big thanks to Silicon Portals for being cooperative (unlike many USB
device vendors).
2001-01-16 03:10:09 +00:00
mycroft b9e3ed1f0a Allow read-write descending memory segments (not that anybody ever uses
descending segments).
2001-01-16 01:50:36 +00:00
marcus 2e39f7eacf Added keymap for European keyboards. 2001-01-16 00:56:29 +00:00
marcus bc9ea0aebd Dreamcast uses a different realtime clock than the builtin RTC. 2001-01-16 00:34:44 +00:00
marcus 322c255ab3 WSCONS console added. 2001-01-16 00:33:50 +00:00
marcus 839caf1064 PowerVR display driver. 2001-01-16 00:33:20 +00:00
marcus ecb24087d2 Maple bus keyboard driver. 2001-01-16 00:33:01 +00:00
marcus ee6259c508 Maple bus driver. 2001-01-16 00:32:42 +00:00
bjh21 f575270d81 Switch over to using the arm32 sigcontext structure.
Yes, this causes binary incompatibility.  Yes, it's Evil, Bad and Wrong.
Nonetheless, I think it's probably the least unpleasant way to get close to
binary compatibility with NetBSD/arm32, and a very much doubt there are any
arm26 binaries out there that depend on the old shape of struct sigcontext.
2001-01-16 00:29:45 +00:00
thorpej 058f408c59 Regen. 2001-01-15 23:29:28 +00:00
thorpej a1df526434 Add the 66MHz version of the Symbios 53c1010. 2001-01-15 23:29:04 +00:00
perry 674a20f8fb powerhook fixes, from thorpej, tested by me. Thinkpad T20 sound now perfect. 2001-01-15 23:25:39 +00:00
perry 3bb7b7df87 Fixes from OpenBSD via chopps. Audio now works on my Thinkpad T20
provided I don't suspend the thing...
2001-01-15 22:28:20 +00:00
thorpej 009d2d725c Grok __HAVE_MINIMAL_EMUL and __HAVE_SYSCALL_INTERN. 2001-01-15 21:33:52 +00:00
fvdl a8d16ea901 Move decl out of __HAVE_OLD_DISKLABEL 2001-01-15 21:29:30 +00:00
fvdl 4d7a6c1fda Move declaration out of __HAVE_OLD_DISKLABEL ifdef. 2001-01-15 21:27:21 +00:00
tshiozak 2ed1e48455 List two USB MIDI I/Fs; YAMAHA UX256 and Roland UM-1.
These devices, however, aren't conforming to USB-MIDI class spec.

BTW, here is very experimental version of the driver for these devices:
http://www.imou.to/~AoiMoe/UNIX-at-Random/garbage/umidi-2001-01-15.diff.gz
2001-01-15 20:26:46 +00:00
thorpej d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
eeh d04bab724e Implement some seblence of bus_dmamap_mbuf() and bus_dmamap_uio(). 2001-01-15 19:27:07 +00:00
oki 880b841888 Add support to mmap .bss section.
Use vmcmd_map_pagedvn if possible.
2001-01-15 17:05:32 +00:00
thorpej 569e9a31e2 For SLIP/STRIP/PPP, use generic soft interrupts, if available. 2001-01-15 16:33:30 +00:00
sato c1821150bb change MINYEAR to 2001. 2001-01-15 15:36:38 +00:00
martin 89e8f275be Don't peek at part of a structure via fuword. Does not work well on
64bit architectures. XXX - have to check other changes in the I4B
distribution, this had been fixed there a long time ago.
2001-01-15 13:40:35 +00:00
nisimura 9b47b68152 abandon an attempt to have 8bpp textop and 32bpp textop parallelly.
Pursuade a unified logic effective for both depths.
2001-01-15 09:45:30 +00:00
nisimura 452e3d1a2f fix a typo and rearrange a comment about SFB register aliasing effect. 2001-01-15 09:41:57 +00:00
nisimura 3a6d3e0771 use ri_devcmap[] values directly, instead of calling rasops_unpack_attr().
-
2001-01-15 09:37:42 +00:00
itohy f3590c636b Make it compile with "options DIAGNOSTIC" (patch from minoura). 2001-01-15 07:04:41 +00:00
augustss 845a2d5b53 Fix comment typo. 2001-01-15 03:52:03 +00:00
thorpej 45de366b2e Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS,
and place the definition in <machine/types.h>.  This can now be used
as a flag to indicate whether or not <machine/intr.h> can be included
to get the generic soft interrupt API.
2001-01-14 23:50:28 +00:00
thorpej 61473e63f9 Define __HAVE_AST_PERPROC. 2001-01-14 22:32:57 +00:00
thorpej 7200d34a76 Whenever ps_sigcheck is set to true, signotify() the process, and
wrap this all up in a CHECKSIGS() macro.  Also, in psignal1(),
signotify() SRUN and SIDL processes if __HAVE_AST_PERPROC is defined.

Per discussion w/ mycroft.
2001-01-14 22:31:58 +00:00
thorpej 4d81dcf9c1 splimp() -> splvm() 2001-01-14 21:28:16 +00:00
thorpej da57125f23 Now that we won't lose signotify()'s while we're asleep, go ahead
and to signal processing in ast() again.
2001-01-14 21:22:56 +00:00
thorpej 53d2115d66 Make the astpending flag per-process. 2001-01-14 21:18:39 +00:00
thorpej 372338915a Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:37:41 +00:00
thorpej ad669fbaf1 Allocate space for mapping DMA-safe memory from kernel_map. 2001-01-14 17:36:33 +00:00
thorpej dc9a8ec9dd Use splnet() to block network interrupts, not splimp(). 2001-01-14 17:33:48 +00:00
martin a261276f16 The i4b raw b-channel devices actually do have an ioctl routine,
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
2001-01-14 11:17:28 +00:00
martin 6695531e85 Fix format warnings to make it compile again. 2001-01-14 09:43:33 +00:00
ichiro bf4e834543 ELSA XI-300 WaveLanCard (PRISM2) work.
OEM. ADLINK 330C
http://www.adtec.co.jp/CGI/parts/parts_detail.cgi?product_id=ADLINK330C
2001-01-14 06:54:01 +00:00
christos 1e3e288bb5 protect against multiple inclusion. 2001-01-14 06:29:27 +00:00
thorpej 6f0dfa5049 splimp() -> splvm() 2001-01-14 03:32:20 +00:00
thorpej a3ec356d52 splimp() -> splvm() 2001-01-14 03:22:04 +00:00
thorpej f4395a4eae splimp() -> splvm() 2001-01-14 02:10:01 +00:00
thorpej a624c70966 Use splvm(), not the home-grown splmem(). 2001-01-14 02:08:35 +00:00
thorpej 20f5aecd16 splimp() -> splvm() (mbufs are "memory allocation") 2001-01-14 02:07:22 +00:00
thorpej b5104c1ca5 Change some low-hanging splimp() calls to splvm(). 2001-01-14 02:06:21 +00:00
thorpej 979919ee0f splpmap() -> splvm() 2001-01-14 02:03:48 +00:00
thorpej d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
thorpej fd0ca62926 Put signal posting back in userret() for now; for it to work
properly, we need to make astpending a per-process variable.

Pointed out by mycroft.
2001-01-14 00:39:48 +00:00
thorpej 2574f338e1 Remove a couple of now-unsed variables (args that are now no longer
passed to userret()).
2001-01-14 00:35:53 +00:00
thorpej 1eb36d23fd - Make ast() loop around astpending; it's possible for a new
AST to be posted when delivering signals, or after a process
  is preempted.
- Move all signal posting to ast().  userret() is now a one-liner.
2001-01-14 00:10:28 +00:00
thorpej 777efd8cdc Check for ASTs in Syscall and UserGenException, too; AST processing
must be done on *every* return to userland.
2001-01-13 23:49:12 +00:00
bjh21 8df387473f Move <machine/signal.h> into shared directory. 2001-01-13 17:02:36 +00:00
bjh21 70d40a123c Make db_disasm_interface const. 2001-01-13 16:53:27 +00:00
bjh21 f52101bc64 Make all the disasm_interface_t arguments const, thus allowing us to
allocate them statically in the text segment.  Do so for disassemble().
2001-01-13 16:52:01 +00:00
bjh21 792b8500bc ANSIfy, un-__Pify, and in the case of disassem.c, add an RCSID. 2001-01-13 16:44:25 +00:00
tshiozak cfb6a0b2c6 add missing sc->dying initializer at midiattach. 2001-01-13 16:16:12 +00:00
tshiozak 3a10cc3d0a add detaching/deactivation code to midi driver. 2001-01-13 16:09:04 +00:00
aymeric edecf4bc97 Notify UVM subsystem about our page size in pmap_init().
Some MI code needs it (Linux emulation, sysctl and the like).
Thanks to Izumi Tsutsui for pointing it.
2001-01-13 11:31:04 +00:00
ur 7701dc57be Adapt to pci_intr_map change. 2001-01-13 10:46:18 +00:00
itojun 42bede79da allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface
by interface index.  if the interface address specified is in 0.0.0.0/8
it will be considered as interface index in network byteorder.

getsockopt(IP_MULTICAST_IF) preserves old behavior if
setsockopt(IP_MULTICAST_IF) was done with interface address, and
returns interface index if setsockopt(IP_MULTICAST_IF) was done with
interface index (again using the form in 0.0.0.0/8).

Suggested by Dave Thaler, based on RIPv2 MIB spec (RFC1724 section 3.3).

http://mail-index.netbsd.org/tech-net/2001/01/13/0003.html
2001-01-13 07:19:33 +00:00
itojun 4a14fb4fd8 on getsockopt(IP_IPSEC_POLICY), make sure to initialize len 2001-01-13 06:01:18 +00:00
matt 27980172f6 Add the types needed by the new locale code. 2001-01-13 03:48:26 +00:00
aymeric f806b0811c Pass CPPFLAGS to gcc in NORMAL_G, plus minor change: ; -> && 2001-01-13 02:17:50 +00:00
aymeric 80f1cca44e Make this compile again: we don't need to initialize PAGE_SIZE and friends
since they are now (preprocessor) constants.
2001-01-13 02:15:16 +00:00
aymeric 032ced3b65 Make these compile again, plus minor aesthetic changes. 2001-01-13 02:09:27 +00:00
aymeric 11dbbd8afe make this compile again 2001-01-13 02:08:15 +00:00
bjh21 78c0ba909e Separate out sigcode into its own file, since it's shared by arm26 and arm32. 2001-01-13 00:06:50 +00:00
bjh21 e4cacac41c Storing four-byte pointers to two-character strings is silly. All the
auxilliary tables used by the disassembler are now char[][].

The main table still uses pointers because:
 - the longest instruction name, "imbrange" is >7 characters long, which would
   make the field length wasteful.
 - GCC spots that most of the formats are shared and makes them pointers to the
   same string, so turning them into char[8] would be counter-productive.
2001-01-12 23:33:07 +00:00
bjh21 dd7e31f012 The mask tables have no excuse for being in the data segment. 2001-01-12 23:03:52 +00:00
cgd 926244ff0d nuke extra token (;) after #endif 2001-01-12 22:55:10 +00:00
bjh21 ca0f6df99d Move all the nasty big tables into the text segment. This isn't much use in
the kernel at present, but maybe one day when we have a ROMmable kernel...
2001-01-12 22:44:08 +00:00
bjh21 cdae07e857 Correct comments (the code does support LDF, STF, LDC, STC).
Support BX (for completeness).
Correct spelling of SWP.
2001-01-12 22:19:15 +00:00
bjh21 e9bb2a7916 Correct immediate constant handling: bits [11:8] are a rotation, not a shift.
Also add support for the "P" modifier to TEQ, TST, CMP and CMN, and don't
bother displaying the "S" bit for these instructions.

Together, these correct the disassembly of 0xe33ff3c2 (an instruction in
arm26 irq_handler() from "teqs r15, #0x08000000" to "teqp r15, 0x08000003".
2001-01-12 21:56:18 +00:00
bjh21 d6928b5422 Prototypes for disassemble_readword() and disassemble_printaddr(). 2001-01-12 21:35:48 +00:00
bjh21 a5ef6e1f81 Move db_disasm.c into sys/arch/arm/arm. Use arm26 version, since it should
generate smaller compiled code.
2001-01-12 21:31:51 +00:00
thorpej 1cdefa9f66 Fix a comment. 2001-01-12 19:38:46 +00:00
thorpej ba4e91812d After freeing the input buffer, set the pointer to it to NULL. 2001-01-12 19:27:32 +00:00
thorpej acd96e1307 Don't use splimp() to block both net and tty interrupts. Instead,
block both interrupt levels as appropriate.
2001-01-12 19:26:48 +00:00
thorpej 6f85104748 Sync with if_sl.c,v 1.67:
Defer output processing to the software interrupt.

Note, that in the process of doing this, I discovered several
very broken things about this driver, which are not fixed with
this commit.  It should work as well as it previously did, but
this code could be seriously improved.  As soon as I can find
my second Metricom radio, I'll give it a proper shakedown.
2001-01-12 19:03:24 +00:00
tsutsui f9de1a4a50 Handle ELF case on calling ddb_init().
XXX should use bootinfo to pass symbol addresses.
2001-01-12 17:17:49 +00:00
tsutsui aafbe31f11 Enable ELF symbol support to migrate. DB_AOUT_SYMBOLS is still defined. 2001-01-12 17:11:50 +00:00
tsutsui 26d5ada2c0 Remove hp300 derived "last kernel PT page" stuff. (sync with luna68k/x68k) 2001-01-12 16:19:18 +00:00
bouyer bc9dd935cf Fix bug which affects pciide controllers in native mode (found by
Paul Kranenburg, many thanks !): the control register I/O is 4 byte long
although only one is used, but the control register is at offset 2, and not
0 as expected by IC code. Use bus_space_subregion() to get a handle which
points to the control register, and is one byte long.
2001-01-12 16:03:59 +00:00
pk b1b7565190 Implement bus_space_subregion(). 2001-01-12 15:24:15 +00:00
bjh21 a4047bf10c Move the generic ARM disassembler from arm32/arm32 to arm/arm. 2001-01-12 13:43:11 +00:00
bjh21 6189064e69 More FPU-state-saving infrastructure. Not useful yet. 2001-01-12 13:23:49 +00:00
itojun 12a14b346e match T1 card. from freebsd driver, it should just work.
i'll test it as soon as i get the card handy.
2001-01-12 05:19:18 +00:00
itojun 78fdca968e regen 2001-01-12 05:14:36 +00:00
itojun c1285a8caf add product ID for LMC T1 card. from freebsd. 2001-01-12 05:13:47 +00:00
simonb 38de3f1a70 Enable the APM_IOC_DEV_CTL ioctl. Works at least for turning off & on
a LCD screen on a Dell Inspiron 5000e (and probably many others).
2001-01-12 03:36:50 +00:00
bjh21 d74ad44e33 Document format of various chunk types. 2001-01-12 00:13:26 +00:00
bjh21 0bb3b087a6 Document the VIDC audio format. 2001-01-12 00:12:38 +00:00
bjh21 531e3e2075 Fix up irq_string for a world without intrnames. 2001-01-12 00:11:42 +00:00
bjh21 6fa98146d5 Start merging actual code in arm32 and arm26:
arm32/arm32/in_cksum_arm32.c -> arm/arm/in_cksum_arm.c

Also move specification of other checksum stuff to files.arm, even though we
use the MI code for that.
2001-01-11 23:27:26 +00:00
thorpej 455e3228dd Sync if if_sl.c,v 1.66:
Move the VJ uncompress code into the software interrupt.
2001-01-11 22:56:51 +00:00
martin e94e4a6d47 Move interrupt mapping before initialization of the card (which might
cause interrupts). This works around a problem on sparc64, where
interrupts without installed handler seem to cause heavy lossage (and
interrupts are already enabled at this stage of autoconfiguration).
2001-01-11 22:46:40 +00:00