Commit Graph

16319 Commits

Author SHA1 Message Date
thorpej 7ff538b614 Oops, use M_VMPMAP as the malloc type in pool_init(). 1998-08-25 01:11:11 +00:00
thorpej 4dfff51650 Use the pool allocator to allocate pmap structures. 1998-08-25 01:09:04 +00:00
matthias 04232f6196 declare end[] everywhere the same, fix an egcs "missing braces" warning. 1998-08-24 22:52:23 +00:00
drochner 103b7e7b17 The Intel 82371MX identifies itself erroneously as a miscellaneous bridge.
(from "Johnny C. Lam" <lamj@stat.cmu.edu> per PR kern/6021)
1998-08-24 19:27:05 +00:00
pk c6905522d2 These files are no longer used. 1998-08-24 07:23:10 +00:00
tv b3e9be0ee3 egcs warning fixes, clean up `register' 1998-08-24 02:37:16 +00:00
sakamoto 62ed825858 vm_offset_t --> [pv]addr_t. 1998-08-24 01:40:26 +00:00
eeh d395d34886 Work on 32-bit cleanup. 1998-08-23 15:52:43 +00:00
eeh 41fb08c335 Added pv_syncflags() (unused) and debug stuff. 1998-08-23 15:51:23 +00:00
eeh a579357e66 Remove dvma_mapin() and other cruft. 1998-08-23 15:49:02 +00:00
pk 66795e62e7 Move sparc_vme_dmamem_map() outside `#ifdef SUN4M' 1998-08-23 10:40:38 +00:00
pk 4539119e83 Nuke phys_map & old dvmamap. 1998-08-23 10:08:25 +00:00
pk 4fe6cdf6ca Nuke obsolete prototype. 1998-08-23 10:07:09 +00:00
pk 2a6be00de5 Rename DVMA constants. 1998-08-23 10:05:53 +00:00
pk 666587112f Use bus_dmamem_{alloc,free} instead of the old VM hack. 1998-08-23 10:04:56 +00:00
pk e68fd96987 Remove DVMA address special cases in pv_changebit(). 1998-08-23 10:01:24 +00:00
pk 434a2cc972 Nuke phys_map & old dvmamap. 1998-08-23 09:59:24 +00:00
pk 9a2b941ecb Rename DVMA constants. 1998-08-23 09:53:03 +00:00
eeh 5e1f92b621 64-bit clean cleanup of ofwboot.elf. 1998-08-23 02:48:28 +00:00
augustss c29fdceff3 Prepare for MIDI devices. 1998-08-22 22:50:53 +00:00
eeh edab5330c3 Fix typo in previous fix. 1998-08-22 22:45:19 +00:00
eeh 9f5435229a 64-bit-ify this. Depend on _lp64. 1998-08-22 22:16:01 +00:00
scw 592953d009 Fix tyop. 1998-08-22 18:11:25 +00:00
mrg c54c62ad31 bsd_audioio.h is not used. 1998-08-22 15:56:46 +00:00
minoura 7f4ad4748e Eliminated vm_offset_t and vm_size_t. 1998-08-22 14:38:36 +00:00
ragge e727d1e031 Must #define __warn_references if not GNUC. 1998-08-22 12:12:38 +00:00
scw a84a67440f vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
While I'm here, expunge use of 'register' storage class.
1998-08-22 10:55:33 +00:00
ragge 00475fbb1f New times, new pagesize, use magic number in exec header. 1998-08-22 09:16:45 +00:00
scottr 9237e1254f Take a stab at support for the PowerBook 190/190cs, based on comparison
with other PowerBook hardware.  They seem to be most closely related
to the PowerBook 500-series, but have an internal IDE disk instead.

NOTE:  only external SCSI disks have a chance of working, at this
point.  Nothing has officially changed with regard to IDE support
(yet).
1998-08-22 06:06:05 +00:00
scottr f234add115 Add gestalt machine type for the PowerBook 190/190cs. 1998-08-22 05:47:37 +00:00
is 9948205c5a Prepare for support of Apollo-cpuboard-reworked A3000 mainboard SCSI. 1998-08-21 19:13:27 +00:00
is ae8175cb09 Workaround for the incomplete fastmem loading scheme: put uptbase lots higher,
so that hopefully it doesn't get overwritten by the 1:1 mapped kernel copy.
See line 375 for an explanation.
1998-08-21 18:51:58 +00:00
tsubai 5a294dbb55 Add missing "-a" to mkdep line for locore_machdep.S. 1998-08-21 16:24:25 +00:00
tsubai d4d7416198 vm_offset_t --> [pv]addr_t. 1998-08-21 16:13:28 +00:00
tsubai f6dcf3f9c6 Change vm_offset_t to [pv]addr_t. 1998-08-21 14:52:29 +00:00
pk 79dd1e8563 Convert to [pv]addr_t & [pv]size_t. 1998-08-21 14:13:53 +00:00
pk b8a1caac4a Convert to [pv]addr_t & [pv]size_t. 1998-08-21 14:12:18 +00:00
pk 24255abca0 iommu_{enter,remove} moved to iommuvar.h 1998-08-21 14:10:42 +00:00
pk ca5b5652b4 Remove vm_offset_t & vm_size_t. 1998-08-21 14:09:59 +00:00
pk f318f15bc3 Convert to [pv]addr_t. 1998-08-21 14:07:37 +00:00
tsubai 5bcec15811 Add #ifdef DDB around Debugger(); 1998-08-21 14:07:03 +00:00
ragge 6aba9c11ff VAX logical page size increased to 4k. 1998-08-21 13:46:38 +00:00
scottr 33395d926e Remove an extraneous printf when attaching a Valkyrie. 1998-08-21 13:46:31 +00:00
ragge b3574d3923 VAX logical page size increased to 4k. 1998-08-21 13:41:09 +00:00
pk 7575f8fac5 Move iommu_enter/iommu_remove here from <include/cpu.h>. 1998-08-21 13:29:57 +00:00
tsubai 057ca9bfe1 No longer used. 1998-08-21 13:22:25 +00:00
tsubai 5617a263e0 Correctly initialize scb struct. 1998-08-21 13:19:43 +00:00
matt f1a6a0936f The VAX46 (VS4000) needs the clock stuff the VAX43 does... 1998-08-20 23:52:42 +00:00
pk 02d030ca52 Pass on `NOWAIT' and `boundary' args to extent_alloc(). 1998-08-20 20:49:33 +00:00
pk 363b678b9e Flesh out more of the sun4 busdma functions. 1998-08-20 20:46:59 +00:00
pk 02c059eefa Pay attention to BUS_DMA_NOWAIT & boundary args where appropriate. 1998-08-20 20:45:40 +00:00
veego ff2c3adddc Add some braces to stop the new egcs warnings. 1998-08-20 19:55:06 +00:00
ragge fb9171df3d Fix write/read of memory. 1998-08-20 16:47:11 +00:00
scottr b27d106197 Match grf_obio devices correctly for the 58x/63x. 1998-08-20 13:58:04 +00:00
pk aee27828f9 Some machines (Voyagers) apparently have zs devices with multi-valued
register properties in the PROM.
1998-08-20 11:47:39 +00:00
kleink a6d3fb3799 vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t 1998-08-20 08:33:41 +00:00
thorpej f73a7043f3 ISA Game port driver, lifted from BeBox port. 1998-08-20 06:31:34 +00:00
thorpej b176b7ba0f Add joy driver at cdev 56. 1998-08-20 06:30:56 +00:00
thorpej 31ac3d022c Add joy driver devsw declarations. 1998-08-20 06:28:43 +00:00
thorpej 2d282c7e70 Add joy driver glue. 1998-08-20 06:28:18 +00:00
thorpej cc042ba0e5 Correct a function name in a panic message. 1998-08-20 05:46:20 +00:00
matt 5232b66bd5 Initial steps to getting the VAX to use the MI driver framework. 1998-08-18 23:55:00 +00:00
thorpej ff266f0937 Add some braces to make egcs happy. 1998-08-18 18:23:07 +00:00
mycroft a76eb95be9 Tab vs. space, and turn *off* XSERVER_DDB by default. 1998-08-18 17:03:42 +00:00
leo 2ce88694c7 Do not include files.isapnp, this file is now included from files.isa...
(Julian Coleman)
1998-08-18 11:51:07 +00:00
thorpej cf3457cb9d Add some braces to make egcs happy (ambiguous else warning). 1998-08-18 07:53:47 +00:00
leo 47cf1b0e0a Circad Leonardo video driver by 'maximum entropy'. 1998-08-18 07:45:02 +00:00
thorpej 136e58fb9f Internal cleanup. 1998-08-17 22:35:04 +00:00
thorpej 5e04cc8bb7 Internal bus_dma cleanup. 1998-08-17 22:33:09 +00:00
thorpej fb0cc46daf Internal cleanup. 1998-08-17 22:30:08 +00:00
thorpej 4396c67463 Internal cleanup. 1998-08-17 22:28:00 +00:00
augustss cd09067eb4 * Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
thorpej 0809175887 #define _CS_OFISA_MD_REG_FIXUP 1998-08-17 20:40:53 +00:00
thorpej defb1b327e Implement a reg fixup, needed for old OpenFirmware builds. 1998-08-17 20:38:08 +00:00
thorpej e7a551d60e Some internal cleanup; pass a tag around, not individual arguments. 1998-08-17 20:15:55 +00:00
briggs 45bcd0fe79 Update comment after cut and paste. 1998-08-17 15:04:51 +00:00
mycroft a1ac68819f Assign my copyrights to TNF. 1998-08-17 00:26:32 +00:00
eeh 9ec98c99ae Added elf64 support (I hope). 1998-08-16 23:30:00 +00:00
scottr 19a5912587 Remove the 'fast' return from intrhand(). 1998-08-16 22:29:03 +00:00
kleink 708c5f826e Add missing wint_t (currently unused). 1998-08-16 17:16:56 +00:00
scw 201603f86e Hopelessly out of date, esp. now that we follow the standard
installation procedure.
1998-08-16 15:39:58 +00:00
scw 445aefc354 Switch to using the common m68k stuff for a couple of things:
. cache control functions <m68k/cacheops.h>
 . sigreturn code <m68k/m68k/sigreturn.s>

Also a few of other things found while scouting around for vm_offset_t
changes.
1998-08-16 15:33:48 +00:00
tsubai 573f3aee5c Enable 115200 and (untested)230400 bps. 1998-08-16 11:24:36 +00:00
scottr da5ce9387c Remove semicolons from the end of bus_space_*_multi_*(). From Ken Nakata
in PR 5965.
1998-08-16 05:36:17 +00:00
mark 518c6812d3 Block user space access between the cache purge and the context switch in
cpu_switch() as all user space addresses must be removed from the cache
prior to the context switch and interrupts are live for the purge.
1998-08-16 02:17:17 +00:00
wrstuden 0e4dc30457 As ovbcopy & bcopy are now done in terms of mem* routines, it makes
no sense to "#define ovbcopy bcopy".
1998-08-16 02:15:50 +00:00
mark 2ea34b589c Enable interrupts during cache clean, purge and sync operations.
Instead use a flag to indicate that all user space access are blocked
during the cache op to ensure that user space virtual addresses correctly
expunged from the cache.
1998-08-16 02:14:15 +00:00
mark decc2dde0a Implement a mechanism to prevent fuswintr() and suswintr() from accessing
user space via a flag. This enables interrupts to be live during certain
critical operations where user space accesses must not be attempted.
1998-08-16 02:11:32 +00:00
mark 152c00c687 Enable interrupts as soon as possible in prefetch_abort_handler(),
beore any of the diagnostic checks etc.
1998-08-16 02:03:30 +00:00
mark d83571ea08 Enabled interrupts as soon as it possible in syscall(), before any
of the diagnostic checks.
1998-08-16 02:01:16 +00:00
wrstuden 961641ad2d We claim to support some mii-equiped pci ethernet drivers, so we
need to include dev/mii/files.mii. :-)
1998-08-16 01:40:29 +00:00
rvb 8e5a13f5f0 Avoid double fault on errors during probes 1998-08-16 00:42:51 +00:00
thorpej c529c40718 Normalize the copyright notice on this file. 1998-08-15 20:42:25 +00:00
mycroft d07b3639a4 Assign my copyrights to TNF. 1998-08-15 17:47:15 +00:00
mycroft 62b1bf3e2e Assign my copyrights to TNF. 1998-08-15 10:51:16 +00:00
mycroft 228f894ea2 This code was written by Jason. 1998-08-15 10:38:03 +00:00
mycroft 530fef3c8d Assign my copyrights to TNF. 1998-08-15 10:34:43 +00:00
mycroft 6dc903202f Assign my copyrights to TNF. 1998-08-15 10:10:47 +00:00
scottr 4b02e4134c Initialize and enable an interrupt handler, which currently doesn't
actually do anything.
1998-08-15 07:42:50 +00:00
mycroft 129cbf95ee Minor edit. 1998-08-15 05:16:41 +00:00
mycroft c9a799adf6 Assign my copyrights to TNF. 1998-08-15 04:57:50 +00:00
mycroft cc8a78e783 Assign my copyrights to TNF. 1998-08-15 04:42:42 +00:00
mycroft cdf829a998 Assign copyrights to TNF. 1998-08-15 04:22:45 +00:00
mycroft b2827b9d36 Assign copyright to TNF. 1998-08-15 04:16:55 +00:00
eeh 239bc62b37 Add a makefile. 1998-08-15 03:57:58 +00:00
mycroft df9baf2311 Assign copyrights to TNF. 1998-08-15 03:51:30 +00:00
mycroft 08ab3f8338 I didn't write any of this. 1998-08-15 03:36:34 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
thorpej 2b869a383f Use _CS_OFISA_MD_* callbacks for old, broken OpenFirmware builds. 1998-08-15 02:59:01 +00:00
mark 2a48768678 Debug inst_unconditional_flow_transfer and next_instr_address
macros so that single stepping works correctly.
1998-08-15 02:57:28 +00:00
thorpej d5df55112a vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t 1998-08-14 16:50:00 +00:00
thorpej 97e83f6e0b Change the "vm_offset_t"s to "u_long"s for now; eventually, we can make
them vaddr_t and paddr_t, as appropriate (after scouring the RPB docs
to know which are phys and virt addresses).
1998-08-14 16:46:09 +00:00
mark 170eadd04c Add FILECORE filesystem. 1998-08-14 03:56:21 +00:00
rvb 4283228f33 Make message less confusing 1998-08-14 02:20:07 +00:00
thorpej f41c00629b Garbage-collect vm_offset_t and vm_size_t. 1998-08-13 21:36:27 +00:00
thorpej 330d142f16 vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t 1998-08-13 21:36:02 +00:00
rvb e829016cba Keep d_ncylinders correct 1998-08-13 18:18:54 +00:00
rvb d0153a96fe The sense of the pccons_is_console test is backwards 1998-08-13 18:00:05 +00:00
rvb 0430a2cf75 Include db_dbgregs.s for ddb 1998-08-13 17:55:41 +00:00
rvb 1ae4d7da86 Allow inb/outb and friends to be called from debugger.
Crude access to x86 hdw "debug" registers.
1998-08-13 17:54:15 +00:00
rvb 67390e1ee2 Make serial line debugging easier to enable and use 1998-08-13 17:41:10 +00:00
scottr 18b4602fd5 Add a comment regarding the broken behavior of the DAFB v7. 1998-08-13 13:45:33 +00:00
tsubai 0acc329dad Remove ``#define ovbcopy bcopy''. This exists in sys/systm.h now. 1998-08-13 06:21:38 +00:00
tsubai a750861e5d Mask interrupt by hardware register if possible. 1998-08-13 06:18:27 +00:00
eeh a2dd74ed79 Merge paddr_t changes into the main branch. 1998-08-13 02:10:37 +00:00
is 8b950c2a65 Get rid of AMIGA_UPTBASE.
Replace it by a variable, which is initialized in amiga_init.c.
This will make the kernel actually work even if we have lots of Zorro-III
(or DraCo direct bus) i/o space.
1998-08-12 19:46:12 +00:00
mycroft f903600948 Add audio at ess. 1998-08-12 18:32:18 +00:00
augustss 8415989ddf Add the PC speaker MIDI attachment. 1998-08-12 18:17:55 +00:00
scottr 53907fe5a1 Support Cabletron Ethernet card, from John Marohn in PR 5762. 1998-08-12 07:19:09 +00:00
scottr 5a94869995 New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller:  through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:58:42 +00:00
scottr 3e40b6ff15 A simple, obvious optimization, now that the loop has been
removed from zshard().  Pointed out by Bill Studenmund.
1998-08-12 06:55:24 +00:00
scottr 7f2ca20fd9 New framework for handling processor interrupts, derived in part from
the hp300 port.

- Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.

- Modify the zs front end to register with the appropriate interrupt
controller:  through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.

- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 06:52:56 +00:00
scottr b2dc905572 The Performa/LC 58x have a Valkyrie, not the DAFB. 1998-08-12 06:50:37 +00:00
scottr 69c09f978c Be ever so slightly more careful when determining where and what size
the frame buffer is.
1998-08-12 06:48:05 +00:00
scottr 3e2efa4365 Fix a prototype tyop spotted by Bill Studenmund: s/clnintr/clnlintr/ 1998-08-12 06:46:57 +00:00
scottr 7d09ad09b4 New framework for handling processor interrupts, derived in part from
the hp300 port.

 - Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
   and the VIA interrupts (1 and 2) will be addressed when that code is
   rototilled.

 - Modify the zs front end to register with the appropriate interrupt
   controller:  through the PSC on the AV Quadras, and direct to
   interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
   supplied to us at interrupt time.

 - Modify the direct ADB driver (and its PowerManager cousin) to call
   intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
   least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 05:42:44 +00:00
scottr 63526c1ff1 New and improved console framebuffer initialization and autoconfig. This
resolves a great many issues, including Performa 58x interrupt handling
and offset displays on some models.

Programs that depend on the old (pre-NetBSD 1.1) grf interface may break.
That's actually a separate issue uncovered by this code, not caused by it.
1998-08-12 02:36:36 +00:00
mark 3ad4ac45f9 Reworked interrupt blocking and unblocking to improve interrupt latencies
during context switches.
1998-08-12 01:10:29 +00:00
mjacob 5ad5bb35af minor change to make the message less linux like 1998-08-12 00:03:23 +00:00
briggs b3e5811a08 Patch from Takashi NAKAMURA <QZM00427@nifty.ne.jp> to support the
Contour 3-button mouse from the Contour Design Corp.
It looks like a Microspeed mouse.
1998-08-11 20:07:59 +00:00
thorpej f3dd6e430b Pull in files.mii 1998-08-11 18:52:52 +00:00
ragge 2c639fb882 Cache and microsecond clock resolution on KA46. 1998-08-11 17:52:57 +00:00
leo 557c338959 Add CCITT & NATM interrupt handlers. (Jonathan Stone). 1998-08-11 12:22:57 +00:00
leo 6617ede128 KERNEL_RELOC -> RELOC_KERNEL (Entropy) 1998-08-11 07:05:46 +00:00
thorpej cf231bf251 Adapt to MII changes. 1998-08-11 00:28:53 +00:00
is f8dd65f3f5 Fix ommision in last backout. 1998-08-10 20:23:50 +00:00
is c81476c89d ISDN Blaster / Master: ZBus attachment / SUPIO driver. 1998-08-10 18:53:31 +00:00
is e5439fc15b Back out last change --- it doesn't work this way 1998-08-10 18:43:06 +00:00
mark 0a1a20bd29 Recognise STRH, STRSH and STRSB instructions as store instructions when
determining page protections for [u]vm_fault(). Fixes bug spotted by
Richard Earnshaw.
1998-08-10 15:15:49 +00:00
ragge 9f13823e62 Support for VS4000/60. Some needs-count -> needs-flag. 1998-08-10 14:48:53 +00:00
ragge c355f4a0ed Support for VS4000/60. 1998-08-10 14:47:16 +00:00
ragge 2ff84b0fe4 Kickoff xmit interrupts, needed on chip DC7201. 1998-08-10 14:41:16 +00:00
ragge 972b94efc4 Basic support for VS4000/60. 1998-08-10 14:31:07 +00:00
mycroft 86fe068843 Add ess at isapnp. 1998-08-10 01:54:59 +00:00
mrg ca7ad3aff1 make this compile in a not SUN4M world. 1998-08-09 23:37:12 +00:00
is 878203d616 Cosmetics: it's a "HyperCom 3Z" on a ZBUS, no "HyperCom 3". 1998-08-09 22:25:18 +00:00
is 98f1a01dec Actually probe the hardware.
This is for HyperCom 3i slaveboards (to be done soon) that might or might not
sit on top of a HyperCom 3Z or HyperCom 4 or ISDN Blaster.
1998-08-09 22:08:40 +00:00
briggs 64e4a1fa7d Support video interrupt for GrandVimage 17iL video card. 1998-08-09 18:19:09 +00:00
tsubai b872f9b8e7 avoid lint error. 1998-08-09 12:47:27 +00:00
mycroft 093a8daf6b Go to splhigh in the debugger. 1998-08-09 00:00:57 +00:00
mycroft e2686d0a1b Use splnet, not splimp. 1998-08-08 23:51:39 +00:00
mycroft d5eb56b2c2 Move splclock and splaudio outside splimp. 1998-08-08 23:39:38 +00:00
scw 09502c9fb2 Fix -Werror compilation failure due to lack of a couple of 'const's. 1998-08-08 20:57:55 +00:00
ragge e9534620b0 Netboot support for KA46 (VS4000/60). 1998-08-08 16:10:41 +00:00
kleink 88191aeeee Reduce this file as done in the Alpha RAMDISK configuration, which makes
keeping it in sync less prone to errors.
1998-08-08 12:59:43 +00:00
ragge 8fdb1c8ebe Lots of kernlib functions rewritten as inline macros. 1998-08-08 11:18:32 +00:00
minoura a6b5ab0c92 Moved parioctl.h to the system header directory. 1998-08-07 16:16:36 +00:00
minoura 4c4cdda003 Switched to MI zs driver. 1998-08-07 11:19:13 +00:00
drochner dabc8eb436 Implement the 'i' flag which makes the bootloader ask for the file to
load (as in OSF/1).
Useful for netboot where "-file" doesn't work as needed.
1998-08-07 10:38:37 +00:00
drochner e8564df3b9 implemt a simple "beep" device to access the ISA speaker 1998-08-07 10:26:38 +00:00
drochner 026fbbe2db Match PCI-ISA bridges on class/subclass instead of vendor/device.
2 reasons:
-no need to keep a list of all known parts
-there is at least 1 bridge (ACC micro 2051) which reports the same
 device ID for its various subfunctions; this would require an additional
 check in the match function
(keep the old list inside #if 0 in case one of the historical bridges
doesn't report the right class/subclass - I can't check them all)
1998-08-07 10:15:32 +00:00
augustss 48bae9ee88 Add MIDI support. The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
minoura d082dd3db4 Moved grfioctl.h and iteioctl.h to the public include directory. 1998-08-06 14:08:53 +00:00
kleink 546365a27e _POSIX_SOURCE -> _POSIX_C_SOURCE 1998-08-06 11:25:04 +00:00
kleink 709dda58f8 _POSIX_SOURCE -> _POSIX_C_SOURCE, and add missing protection bits. 1998-08-06 11:22:57 +00:00
kleink e2a897639d KNF (only include one of <sys/{param,types}.h>). 1998-08-05 16:50:39 +00:00
augustss d8582601c5 Make panic message a little more explicit. 1998-08-05 16:34:36 +00:00
minoura 4df8f47ebc Switched to MI zs driver. 1998-08-05 16:08:33 +00:00
minoura e8551dcab3 Fixed stray pointer access reported by Yasufumi Itoh. 1998-08-05 15:57:43 +00:00
minoura 89f91f85fa Fixed typo. 1998-08-05 14:40:20 +00:00
perry c3579ce3f5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-05 02:45:08 +00:00
perry 54f97ab9d1 bzero->memset, bcopy->memcpy 1998-08-05 02:28:26 +00:00
perry 584757c02b bzero->memset 1998-08-05 02:11:00 +00:00
perry bf0943278c Fix a problem first noticed by a user with a screwed up real time
clock past the End of Time.

If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).

This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037.  This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.

This kludge is conditioned on an
	if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.

Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00
thorpej 9186d2da5c Simple instrumentation of pmap_steal_memory(). 1998-08-04 22:40:17 +00:00
jonathan 71c8693225 Add missing "-a" to mkdep line for pmax locore_machdep.S.
From Noriyuki Soda.
1998-08-04 20:17:09 +00:00
mark 25997dd19d IPL_TTY -> IPL_SERIAL. 1998-08-04 20:09:37 +00:00
mark b6ffd3a85e Don't call cpu_tlb_flushID() from the pmap_update macro. 1998-08-04 19:11:29 +00:00
dbj e9545cf241 Fixed memory probe for color turbo machines. 1998-08-04 19:08:23 +00:00
mark 167a777474 Drop in the lastest round of optimisations from Neil Carson.
The cache cleaning code in pmap_copy_page() and pmap_zero_page()
  has been rewritten and uses a new function pmap_clean_page().
  pmap_remove() has been completely rewritten to make it more efficient
  when there are only a few pages that actually need to be removed.
1998-08-04 19:02:19 +00:00
minoura b72d8d17f9 __BROKEN_INDIRECT_CONFIG fixes. 1998-08-04 16:51:51 +00:00
minoura ea7f1dbe36 Some files were not deleted with make clean.
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +00:00
mark 47ac4421e0 In setregs(), only pass the stack value in r12 if COMPAT_1[123] is defined. 1998-08-04 16:25:28 +00:00
mark 4b14908352 Fix the validation of source addresses in db_read_bytes() so that
memory ranges mapped with L1 section mappings do not cause aborts
due to lack of L2 page table.
1998-08-04 16:19:54 +00:00
mark e9c872cd6b Define a macro L1_MASK to mask out the level 1 pde type bits. 1998-08-04 16:16:22 +00:00
minoura aced90770c Message fixes. 1998-08-04 16:10:45 +00:00
minoura 233cd5d60b RB_POWERDOWN is now supported.
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
kleink 3dc1e8147c Kill "options FIFO" - they're mandatory now. 1998-08-04 11:19:02 +00:00
mark d91830b032 Namespace cleanup. Prefix all the JMPBUF* macros with _JB. 1998-08-04 02:01:17 +00:00
leo 5429ccda94 Pass the dma_tag to _bus_dmamap_load_buffer. 1998-08-03 13:09:01 +00:00
mark 70fe6c76a1 Pass ps_strings in r0 when execing processes.
Use macros rather than absolute values in zero_page_read*() functions.
1998-08-02 21:50:31 +00:00
kleink 005ae749a7 Oops, make a sentence added in previous commit parseable. 1998-08-02 19:42:35 +00:00
thorpej bf8f319d0e Remove some lint. 1998-08-01 21:12:32 +00:00
thorpej 8eeb95fce4 Implement pci_intr_disestablish(). 1998-08-01 20:25:12 +00:00
thorpej 92fa3a68ad In sio_intr_disestablish, also make sure that IRQs 0, 1, 8, and 13
default to edge-triggered, just like in the setup.
1998-08-01 19:38:29 +00:00
thorpej 0b60fda7c8 Implement sio_intr_disestablish(), and ensure that an initially-enabled
interrupt is never disabled and an initially-level-triggered interrupt
never becomes untyped.
1998-08-01 18:54:21 +00:00
thorpej 528dab6808 Implement alpha_shared_intr_disestablish(). Simply removes the handler
fromthe list, allowing the caller to manipulate the sharing type,
if appropriate.
1998-08-01 18:52:36 +00:00
scw aec399e36f Changes to keep lint happy.
In particular, fix some Makefiles so the include
paths are passed to lint.
1998-08-01 11:22:51 +00:00
pk 6c727e1651 dvma_malloc(), dvma_mapin() and dvma_mapout() are gone; all drivers
the use bus_dma(9) interface now.
1998-07-31 22:35:07 +00:00
pk 359cf8c23d Move `dvma_cachealign' here from vm_machdep.c 1998-07-31 22:23:30 +00:00
pk a0818b4b8b Use bus_dmamem_alloc/bus_dmamem_map. 1998-07-31 22:21:35 +00:00
thorpej 0869d8f714 Blargh, deal with some fallout from the ISA PnP goo, this will go away once
we can pull in files.isa properly.
1998-07-31 16:42:01 +00:00
pk 519f1f7f0e Convert to bus dma. 1998-07-31 15:53:11 +00:00
ross 22554e01a9 Following discussions with eeh and mrg, change most of these types so
that they should make an ILP32 setup with an ILP32 compiler and an LP64
setup if run through an LP64 compiler. None of the data sizes actually
change right now, and any type errors that show up would have to be fixed
eventually anyway.
1998-07-31 15:30:40 +00:00
mycroft a24dbc8065 (Always) (practice) (safe) (macro expansion). 1998-07-31 15:07:41 +00:00
pk c206cad36e Convert to bus_dma. 1998-07-31 12:45:48 +00:00
thorpej 46c7e2fa53 ISA PnP goo. 1998-07-31 04:55:30 +00:00
thorpej 2e33e4c2fa First-cut support for ISA PnP for NetBSD/bebox. 1998-07-31 04:54:38 +00:00
thorpej 29ad6dac50 ISA PnP goo. 1998-07-31 04:50:01 +00:00
thorpej 6f3b1afe37 First-cut ISA PnP support for NetBSD/arm32. 1998-07-31 04:48:42 +00:00
thorpej 92d42c0871 Add a comment about why we can (and must) use bus_space_{,un}map() directly
in this file.
1998-07-31 04:44:10 +00:00
thorpej a138b68143 Don't include files.isapnp here. 1998-07-31 04:39:23 +00:00
thorpej 9589268364 Add unused zskbd and zsms entries, and ISA PnP entry. 1998-07-31 04:38:51 +00:00
thorpej e2ce6c8a28 Machine-dependent ISA PnP goo for NetBSD/alpha. 1998-07-31 04:38:04 +00:00
thorpej f948e430bb Provide a hook for bypassing space accounting, needed to support ISA PnP
for now.
1998-07-31 04:37:02 +00:00
thorpej ecf815f930 Back out previous; it is perfectly reasonable, and desirable, to print out
debugging info ifdef DEBUG.
1998-07-31 02:10:12 +00:00
mjacob 36f9ab27ce >We're not Linux. If we still want driver version strings to be displayed
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
1998-07-31 01:56:49 +00:00
pk af89712b25 Use bus_dma_*() instead of dvma_mapin/dvma_mapout. 1998-07-30 22:42:04 +00:00
pk 32a5557426 Adapt to changes in the base bus_dma* functions. 1998-07-30 22:29:34 +00:00
pk 8a39d7a7fb The IOMMU now has its own dma bus tag and associated functions.
machdep.c retains the `mainbus' (i.e. sun4/sun4c) bus_dma* versions for now.
Create a DVMA map specifically for 24-bit devices (le,ie), which has a
more room than previous DVMA map which should be reserved for sun4 VME.
1998-07-30 22:28:44 +00:00
pk 862c0bafcc Define a BUS_DMA flag for devices that have a 24-bit address space.
Update _bus_dma* prototypes.
1998-07-30 22:20:31 +00:00
thorpej 7b68dfc9c7 Fixup include paths. 1998-07-30 21:58:48 +00:00
thorpej d85ed3d973 Put the SoundBlaster stuff back for files.ofisa (Until we can just
properly include files.isa).
1998-07-30 21:51:00 +00:00
pk 741c837f77 Get to DMA map functions through parent tag, instead of calling some base
functions directly.
1998-07-30 18:54:06 +00:00
augustss cdeb158d5f A first stab at making the SHARK sound work. It doesn't really work
yet, but it probes and makes a noise when used.  Stay tuned!
1998-07-30 14:11:42 +00:00
mrg 7712d62ed7 allow ${SIZE} to be set from the environment, also allow using genassym.sh (both for cross compiling). 1998-07-30 13:34:09 +00:00
leo 3a8b550914 Make this a bit more complete. (Triggered by Julian Coleman ;-) 1998-07-30 12:02:41 +00:00
mrg 813b2f15cf allow ELFSIZE to be pre-defined 1998-07-30 00:27:04 +00:00
pk ab0e92568b <sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h> 1998-07-29 18:48:54 +00:00
pk 9104b183fa Lots of things have moved to <dev/sbus/sbusvar.h> 1998-07-29 18:45:57 +00:00
pk 402a052405 Deal with sbus attach args changes. 1998-07-29 18:44:22 +00:00
pk 9e4d2f9b53 Switch to new sbus attach arguments layout. 1998-07-29 18:42:32 +00:00
pk 58d952ce7d Deal with sbus attch args changes.
Use sbus_destroy_attach_args().
1998-07-29 18:37:23 +00:00
pk 426330f642 We no longer need to get the register sets by ourselves. 1998-07-29 18:36:08 +00:00
pk 718ff722b7 In the reset() function, preserve the current cable selection bit.
If in auto media select mode, this avoids losing carrier every time
the lance code decides to re-initialize.
1998-07-29 16:10:57 +00:00
augustss 33a72d432a Add wss on isapnp. 1998-07-29 12:36:47 +00:00
tsubai 5b03ac980b Use ite for screen console by default until wscons support. 1998-07-29 05:38:04 +00:00
tsubai fbd86622a0 Add ``install floppy'' config file. 1998-07-29 05:19:26 +00:00
thorpej eb32016a95 Split up using BWX for PCI config and bus access. Default to using BWX for
the former, but not the latter.  Hopefully, this will address some problems
people have been experiencing w/ some devices on Pyxis systems when BWX
is used for bus access.  (If it's not used for PCI config access, we can
get fatal machine checks while probing behind PCI-PCI bridges!!)
1998-07-29 01:28:44 +00:00
mark 620bc79e36 Fix the copyin(), copyout() argument validation to check for zero
length copy before returning EFAULT for a bad address.
1998-07-29 00:56:08 +00:00
thorpej 1712467308 fic typi 1998-07-29 00:31:01 +00:00
thorpej 8a2c338704 Use a std options file, like other ports do. 1998-07-29 00:19:20 +00:00
thorpej 7698349700 Ah, we use a _different_ ofcons; rename it macofcons to avoid the
name collision.
1998-07-28 23:43:33 +00:00
thorpej c8f1cea511 Provide SSIZE_MAX. 1998-07-28 23:20:54 +00:00
thorpej 8a3626d966 ofcons attaches to ofbus, not pci! Comment it out, since we do not have
any ofbus support in these configurations.
1998-07-28 23:09:07 +00:00
thorpej d0714d3f21 Support NFS_BOOT_DHCP. 1998-07-28 23:02:06 +00:00
thorpej 37b70b3064 Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
to match the new uio_resid type.
1998-07-28 21:39:54 +00:00
thorpej 6dd25080b4 Garbage-collect ofisacs, noted by Scott Reynolds. 1998-07-28 21:19:13 +00:00
pk 9111209fdf In _bus_dmamem_map(), use uvm_km_valloc() to get kernel addresses.
uvm_map() -- which used to be here (why was that?) -- was called with
an uninitialized value in its `start' argument.
1998-07-28 20:46:28 +00:00
drochner 5788941588 document "Intelli"mouse support 1998-07-28 20:22:29 +00:00
drochner fa0aee147e Use the new mkdtemp() instead of mktemp();mkdir().
Various cleanups (and typecasts) to get lint quiet.
Add remaining prototypes, enable -Wmissing-prototypes -Wstrict-prototypes.
1998-07-28 20:10:53 +00:00
thorpej 3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
thorpej e8063e5201 Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:30:54 +00:00
pk cc0d537633 GC. 1998-07-28 14:04:08 +00:00
eeh 5ed2ac8a95 Apparently we need to specify both slot and offset for all SBUS devices.
This is really annoying....
1998-07-28 04:48:04 +00:00
eeh fbb376b4ee Fixup problems caused by sys/dev/sbus addition. 1998-07-28 04:46:48 +00:00
eeh 1053f23abf That last change to reduce warnings wasn't quite right. 1998-07-28 04:44:52 +00:00
pk fb7bb1a359 Remove mbppio.h from the list.
Also stop installing db_machdep.h, fbvar.h, z8530.h.
1998-07-28 00:34:56 +00:00
pk aaadc9459d This file is now in <dev/sbus> 1998-07-28 00:33:35 +00:00
pk 14f4493376 Magma driver has been moved to <dev/sbus>. 1998-07-28 00:19:22 +00:00
pk fd9017990f Magma driver has been moved to <dev/sbus> 1998-07-28 00:17:47 +00:00
pk b0f82d5c73 `le' and `en' now attach to sbus (and lebuffer) in <dev/sbus>
Other `le' front-ends split into separate files.
1998-07-28 00:10:23 +00:00
pk 4ca3b5c079 We no longer use these. 1998-07-28 00:06:23 +00:00
pk 3d9b1710a7 This file is now in dev/sbus. 1998-07-28 00:05:41 +00:00
pk c7a2e942b0 Split the `le' driver front-ends into separate files.
The sbus and lebuffer front-end have moved to dev/sbus.
1998-07-27 23:59:11 +00:00
perry f150e8645e NORVEGIAN -> NORWEGIAN 1998-07-27 23:55:23 +00:00
perry c4fae2a286 NORVEGIAN -> NORWEGIAN 1998-07-27 23:52:49 +00:00
pk eec66e52bd Get headers from <dev/sbus> 1998-07-27 22:34:48 +00:00
pk d1f03e068a <sparc/dev/sbusvar.h> => <dev/sbus/sbusvar.h> 1998-07-27 19:32:42 +00:00
pk 2e6ea67528 Use <dev/sbus/files.sbus> 1998-07-27 19:20:32 +00:00
pk 6cd4c4ea99 Use <dev/sbus/files.sbus>. 1998-07-27 19:20:03 +00:00
pk db822a6c0a These files are now in <dev/sbus>. 1998-07-27 19:17:50 +00:00
pk e92f09b2b7 SBU_BURST_* are now in <dev/sbus/sbusvar.h> 1998-07-27 19:16:49 +00:00
augustss c720383eb3 Nuke USB mouse device. 1998-07-27 18:50:42 +00:00
bouyer 7c050065fd Correct indent. 1998-07-27 18:42:27 +00:00
bouyer 11245c76f7 Ops, forgot FINNISH_KBD. 1998-07-27 18:38:07 +00:00
thorpej 88a83f13de Back out previous. 1998-07-27 18:27:08 +00:00
mjacob 6ebd8cf4e3 Comment out cs device. Kernels don't compile because there is no
cfattach structure found. Leave it to the author to untangle.
1998-07-27 18:02:02 +00:00
mycroft da2e61d160 Delint. 1998-07-27 13:55:32 +00:00
bouyer 82370f62b3 Document FRENCH_KBD,GERMAN_KBD,NORVEGIAN_KBD options. 1998-07-27 13:39:51 +00:00
mrg db03bbe99b this has moved (and was never used here anyway) 1998-07-27 06:09:02 +00:00
mrg f0065b1a61 don't provide a static splx prototype if SPLDEBUG. avoids warnings... 1998-07-27 06:05:55 +00:00
mrg b8b9e0bd1e move to sys/dev/sbus for lebuffer driver (old path never existed anyway) 1998-07-27 05:52:21 +00:00
mrg 36ee8a045b use lebuffer.c from dev/sbus. 1998-07-27 05:49:02 +00:00
mrg c5e180526b these have moved to sys/dev/sbus. 1998-07-27 05:48:42 +00:00
mrg 06d5ffd2a8 enable kernfs and mfs. 1998-07-27 05:45:17 +00:00
thorpej b0b64545e8 Add cs* at isa? port 0x300, wildcard IRQ and memory address, to pull
them from the EEPROM.  Wildcard DRQ to force memory-mode operation; this
value is not available in the EEPROM and must be configured manually.
1998-07-27 01:57:56 +00:00
thorpej fca2dc28ac Add cs0 at isa? port 0x300, wildcard IRQ and memory address, to pull
them from the EEPROM.  Wildcard DRQ to force memory-mode operation; this
value is not available in the EEPROM and must be configured manually.
1998-07-27 01:51:29 +00:00
thorpej 9b35e91d59 Update for cs* at ofisa? 1998-07-27 01:44:20 +00:00
thorpej 803df07221 Obsolete. 1998-07-27 01:43:24 +00:00
thorpej 6d885615a2 Obsolete. 1998-07-27 01:42:19 +00:00
thorpej 6828d39080 Actually provide the correct bus space tags. 1998-07-27 00:48:15 +00:00
pk 9e8d90ed5c Add a cpu-specific function to flush a pure virtually-indexed/virtually-tagged
cache, which needs to be flushed at context switch.
1998-07-26 23:35:32 +00:00
pk 4998ae50c0 Define hypersparc instruction-cache flush ASI. 1998-07-26 23:29:58 +00:00
thorpej b9aeeb3fa1 Remove a test, making diagnosis of IRQ problems easier. 1998-07-26 21:24:37 +00:00
augustss 80104fac9f Use wscons attachments for USB keyboard and mouse. 1998-07-26 17:45:53 +00:00
simonb a211774da1 Fix typo with new poolpage stuff 1998-07-26 10:15:36 +00:00
simonb 8ed2fad5f9 Add missing trailing $ to $NetBSD$ line (PR #5530). 1998-07-26 09:47:22 +00:00
simonb b454e7c097 Add mainbus0 and cpu definitions, remove extra DS_5100 option. 1998-07-26 09:45:25 +00:00
ragge a799083fba Fix netboot support for 3100/m76 which uses diagmem for its lance buffers. 1998-07-26 09:01:23 +00:00
is 8eebf1cfc5 yet more atomic operations accessing DraCo registers 1998-07-26 06:45:17 +00:00
pk c6124a986a This file is no longer used. 1998-07-25 22:19:25 +00:00
pk 6ad50a6691 Allocate physical memory for the pv_table array in bootstrap(), so we
don't have to call VM functions from pmap_init().

Use a memory pool for additional pvlist entries (used for double mappings).

Take care of the cacheable bit on pagetables while we're initializing them,
instead of calling kvm_uncache() afterwards.
1998-07-25 22:01:19 +00:00
augustss 50f955ff49 Nuke ukbd (USB keyboard) device, we use wskbd now. 1998-07-25 15:39:28 +00:00
tsubai db105fc687 Make vtophys() return non-zero even if the addr < end. 1998-07-25 15:06:28 +00:00
is 401f1157b0 Use atomic operations for DraCo interupt registers 1998-07-25 11:01:11 +00:00
is 2a78f6986c no semicolon, please 1998-07-25 09:24:17 +00:00
is 3d0dcc7181 This has been in amiga/amiga/mtpr.h for a long, long time. 1998-07-25 07:21:20 +00:00
thorpej f0ff548dd2 Rewrite the probe to use values from the EEPROM for membase and IRQ
if they're not specified by the attach arguments, so that they can
be reported by isaprint().  Rearrange the attach routine to facilitate
splitting this up into front- and back-end drivers.
1998-07-25 01:15:54 +00:00
thorpej b4195e59cd Change the interface to the EEPROM functions such that they can be called
from the probe routine.
1998-07-24 23:25:13 +00:00
thorpej 260b2a20f2 Provide PMAP_{,UN}MAP_POOLPAGE(). 1998-07-24 22:03:33 +00:00
pk 91f18e727f Remove conditionals on SUN4C+SUN4M.
A few cosmetic changes.
1998-07-24 21:08:16 +00:00
tsubai 1ca186e04d G3 Macs also needs to fix pci io/mem enable bits. 1998-07-24 20:53:57 +00:00
thorpej 2385ee5eca Provide PMAP_{,UN}MAP_POOLPAGE(). 1998-07-24 20:32:07 +00:00
tsubai 5cc05df4ca Comment out "insert root disk..." message.
Remove unnecessary video init.
1998-07-24 15:52:04 +00:00
rvb d33dfcd7dc Coda glue 1998-07-24 15:40:42 +00:00
tsubai 5f9682b601 Calculate DELAY constant before configure(). 1998-07-24 14:40:40 +00:00
gwr 4eeeee6a7c Print a complaint when no children were specified
in the config file.  Better than a link error...
1998-07-23 23:48:33 +00:00
gwr 4a15b6ba7d Make this like the other redirect includes. 1998-07-23 23:47:02 +00:00
gwr 7e0d396bf4 Add xyc to the dev/xy.c line, similar for xd. 1998-07-23 23:45:24 +00:00
pk f836b9e8d3 Drop private page table list maintenance; use memory pools instead. 1998-07-23 21:42:40 +00:00
christos 1253bfdf46 Utilize the centralized probe function. 1998-07-23 19:32:42 +00:00
thorpej 8d611b5f32 Remember the product ID and revision. 1998-07-23 19:25:52 +00:00
thorpej 1c9aed40f6 Round-out full-duplex support. 1998-07-23 19:02:55 +00:00
pk 217addc8de Option DDB_ONPANIC needs a value. 1998-07-23 13:03:23 +00:00
drochner 7cdf5d9a77 retry disk accesses (for shaky floppy drives) 1998-07-23 09:59:44 +00:00
thorpej 202d438148 CS8900 driver has of_network_dev property. 1998-07-22 22:09:59 +00:00
thorpej c10c18b955 Get media from OpenFirmware. 1998-07-22 22:09:18 +00:00
tsubai 04e498dae6 Change from "-G 0" to "-G0" for egcs. 1998-07-22 19:59:21 +00:00
is 0751419914 Back out previous change. It breaks Seyon in a non-obvious way. 1998-07-22 19:13:02 +00:00
leo 101f67646c Add '<ufs/ufs/dinode.h>' to the include list. (Julian Coleman) 1998-07-22 12:49:42 +00:00
thorpej 05ff8b05f5 Print the default media at attach time. 1998-07-21 23:09:25 +00:00
thorpej 02ad0b4eda Add support for ifmedia. 1998-07-21 22:58:31 +00:00
thorpej aaa383804d Correct the name of the CS8920M id. 1998-07-21 19:54:56 +00:00
tsubai cc035ff82e Oops, I forgot to commit this with bus_dma stuff. 1998-07-21 18:01:30 +00:00
tsubai 0f572b1caa Preserve OpenFirmware's msr and use it in openfirmware(). 1998-07-21 17:53:50 +00:00
drochner 49bb9d8214 adapt to LANCE driver split 1998-07-21 17:36:01 +00:00
dbj fc42c3b81d Continued work on the esp scsi driver. Not yet working, but progress continues. 1998-07-21 06:17:35 +00:00
thorpej 52cfd19bcf Ever closer to KNF. 1998-07-21 01:17:14 +00:00
thorpej bb3c5257c7 Move the cs8900 driver's softc, etc. definitions to an MI location. 1998-07-21 01:04:55 +00:00
thorpej 133efc841f Use <dev/isa/cs89x0var.h> 1998-07-21 01:04:09 +00:00
thorpej 9c9a866a90 Move PacketPage read/write macros in to if_csvar.h 1998-07-21 00:58:46 +00:00
thorpej bdc9dcbe8a G/c two more unused definitions. 1998-07-21 00:53:57 +00:00
thorpej 23efef79fc Move the code that prints Rx errors into a separate function, rather than
duplicating it.
1998-07-21 00:52:15 +00:00
thorpej 9282418a78 Some cosmetic changes. 1998-07-21 00:40:17 +00:00
thorpej 20fb09c609 G/c more unused debugging goo. 1998-07-21 00:24:45 +00:00
thorpej 6014ea2216 Garbage-collect some unused debugging goo. 1998-07-21 00:23:18 +00:00
thorpej f45804c4c6 Nuke sc_iobase (and a serious misuse of it!) 1998-07-21 00:22:29 +00:00
thorpej 22ff8accae Use fixed-size types. 1998-07-21 00:20:35 +00:00
thorpej 5b56c35223 Nuke the "pia" typedef. 1998-07-21 00:18:35 +00:00
thorpej 44d02a07d0 Update for <dev/isa/cs89x0reg.h> 1998-07-21 00:11:03 +00:00
thorpej 57488ef1e4 Remove the register descriptions from this file, and split them into
<dev/isa/cs89x0reg.h>
1998-07-21 00:10:11 +00:00
thorpej c3e7a09c4e Use <dev/isa/cs89x0reg.h> 1998-07-21 00:08:57 +00:00
thorpej 9df67db949 We're not Linux. If we still want driver version strings to be displayed
at boot, then I suppose DEBUG is a reasonable compromise.
1998-07-20 21:18:38 +00:00
thorpej e99bc6379d Don't deref a NULL tty pointer in the interrupt routine. This can happen
if we're the serial console, we have not yet been open'd, and we get an
interrupt for one reason or another.
1998-07-20 17:35:17 +00:00
kleink e641acf153 In configure(), initialize the HIL driver's software state before enabling
interrupts; if there's an interrupt pending (i.e. because the user pressed
a key or moved his mice while the kernel was being loaded), the interrupt
handler may safely be run.  Fixes PR port-hp300/5397.
1998-07-20 10:47:50 +00:00
dbj 84676442e2 Commented out some bus_dma code, until I can fix.
(bus_dma.c needs sync with alpha port!)
Continued progress on scsi driver.
A couple of other compiler warning level of tweaks.
1998-07-19 21:41:16 +00:00
thorpej b4b261bbb0 Remove redundant opt_ddb.h 1998-07-19 20:45:26 +00:00
thorpej 53e3ba1192 Make DDB work again. 1998-07-18 23:02:33 +00:00
is 6054d626f9 Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.

On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
mjacob 99ff11f6b7 locking now out of main framework for isp_reset/isp_init 1998-07-18 21:02:06 +00:00
ragge 50d1442817 Fix PMAP_NEW and make it the default. 1998-07-18 20:35:14 +00:00
is 52ac5e203e Precompute lots of bitmasks etc. in serparam(). Results in slightly better
(but I suspect, insignificant) performance, and also prepares for 8bit +
parity support.
1998-07-18 20:19:33 +00:00
tsubai 2948f65db4 Use unsigned comparison of tbreg in delay(). 1998-07-18 16:23:44 +00:00
pk 116c3be1e5 In dvma_mapout(), make sure to not overrun the buffer when flushing the cache. 1998-07-17 23:05:35 +00:00
thorpej 2fc1260cc0 Implement bus_dmamap_load_uio(). 1998-07-17 21:09:59 +00:00
mark f6e8a93bac Replace hardcoded constant with VM_MIN_KERNEL_ADDRESS. 1998-07-17 19:12:48 +00:00
thorpej 142429fb34 bus_dma carries TNF copyright. 1998-07-17 19:02:46 +00:00
tsubai c11b71818d Fix typo. 1998-07-17 18:53:19 +00:00
tsubai 08574665d0 Write (fake) Apple Partition Map when install boot block. 1998-07-17 18:48:37 +00:00
tsubai 0a6758d760 "chaos" PCI controller support.
Clean up.
1998-07-17 18:40:31 +00:00
tsubai 5f7fef3c79 Add bus_dma support. 1998-07-17 18:38:10 +00:00
tsubai fb93315ffc Change pcitag_t format for bandit. 1998-07-17 18:31:56 +00:00
eeh 97081b51be Make this work for a change. 1998-07-17 02:33:13 +00:00
jonathan d2ddbe58a2 Add empty opt_cputype.h to satisfy changes committed during
defopt'ing of network options.
1998-07-15 23:57:04 +00:00
mjacob bc355c6b3f new framework 1998-07-15 19:59:45 +00:00
thorpej d681d158c7 Remove the raw HYPERchannel kludge. 1998-07-15 17:45:52 +00:00
thorpej 41986b6ad6 Print out the revision as a letter, i.e. 'A', ... 1998-07-15 03:29:47 +00:00
thorpej 25a86ef490 Be a little more thorough when printing the chip name, and also print
the chip revision.
1998-07-15 00:01:17 +00:00
thorpej 45c63f6b7b Massive cleanup of this driver (format police, autoconfig). More to come. 1998-07-14 23:38:49 +00:00
fair 86574cd4f8 patch to add "vi/ve" per PR#4583 1998-07-14 20:29:11 +00:00
mhitch 1143e585fc PS -> SR: PS as alias to SR was removed due to conflict with other usage. 1998-07-14 03:19:17 +00:00
mhitch 32a0c413a5 Oops - check and calculate maxproc with right symbols - maxproc was getting
incorrectly reduced for UVM.
1998-07-14 03:17:05 +00:00
tsubai dc16918e07 Add support for G3 Mac. 1998-07-13 19:37:28 +00:00
tsubai 14fd96b811 Get framebuffer address from Openfirmware. 1998-07-13 19:31:53 +00:00
tsubai ed1ec91943 Change VM_MAXUSER_ADDRESS to 0x7ffff000. 1998-07-13 19:28:56 +00:00
tsubai a0fead97de Add support for Motorola MPC106. 1998-07-13 19:27:13 +00:00
tsubai 37c5807bba Clean up a bit. 1998-07-13 19:22:26 +00:00
tsubai 209036f339 Revert to previous version.
Use ROM font.
1998-07-13 19:14:43 +00:00
ross d58ad29b6c Kill the old extern mchkinfo pointer and prototype cpu_mchkinfo().
This file has been collecting prototypes and other things used in the MD
code...that's bad...because this is exported to the MI kernel.
1998-07-13 19:10:14 +00:00