Commit Graph

28133 Commits

Author SHA1 Message Date
mycroft
f2c4e7f8bd Use the correct interrupt sharing type, and set PCIC_INTR_ENABLE(!). 1999-02-18 23:41:40 +00:00
mycroft
74028ea9fd Regen. 1999-02-18 22:32:27 +00:00
mycroft
b71baddba7 Add ID for MagicRam SwapBox PCMCIA controller card. 1999-02-18 22:31:32 +00:00
mycroft
d9f4f0e31a Add PCMCIA goo. 1999-02-18 21:58:18 +00:00
mycroft
e3dc7a4881 Okay; pcic_isapnp doesn't quite work yet. 1999-02-18 21:54:04 +00:00
mycroft
9bf7aaa65f Add pcic_isapnp. 1999-02-18 21:27:54 +00:00
thorpej
bd72e4386f Add floppy controller and drives. 1999-02-18 20:39:04 +00:00
mycroft
3bf5fab3c0 Add a floppy drive. 1999-02-18 20:18:54 +00:00
thorpej
1df60a8989 Floppy driver for NetBSD/alpha, copied from i386 port, and munged to take
out the i386'isms (i.e. no NVRAM read for default floppy type; floppies
just default to 1.44MB).
1999-02-18 20:15:53 +00:00
thorpej
a473ed5477 Fix omission in previous. 1999-02-18 19:24:39 +00:00
mycroft
bb815bda9e Fix a thinko in the previous.
Also:
* Do the boundary check when creating a new region as well.
* If we crossed the boundary, don't just throw away the region; lop off the
  beginning and see if we still fit.
SB16 is now fully functional on the Alpha.
1999-02-18 18:52:29 +00:00
mycroft
ca00239fe9 Speed up the calculation of dontcross; use EXTENT_ALIGN to calculate it
directly rather than using a loop.  Also adjust so that we can allocate at
the end of the integer range.
1999-02-18 18:13:50 +00:00
mycroft
18e341a954 Add separate halt_input and halt_output methods in ad1848_isa, which disable
the DMA channel.
1999-02-18 17:27:39 +00:00
christos
85a8ddde1d make the #if 0'ed code compile... 1999-02-18 17:23:55 +00:00
christos
88bdeec361 && || confusion. 1999-02-18 17:21:14 +00:00
mycroft
1445849c2f Add:
* PCI VGA (tested with Imagine-128)
* ISA SoundBlaster (tested with SB1!)
* AudioPCI (tested with ... AudioPCI!)
* PnP SoundBlaster (currently loses in 16-bit mode due to extent lossage)
* SonicVibes (currently loses; see sv.c commit log)
1999-02-18 16:42:31 +00:00
mycroft
9907eda026 spaces -> tabs 1999-02-18 16:09:01 +00:00
mycroft
81bc49921a Remove some superfluous softc elements. 1999-02-18 15:47:29 +00:00
bouyer
7e5acb7709 Don't print an extra newline if the controller doesn't support 32 bits access.
Pointed out by Dave Huang.
1999-02-18 14:45:31 +00:00
bouyer
e96144a012 Add a missing ':'. pointed out by Dave Huang. 1999-02-18 14:44:34 +00:00
jonathan
6e065bd434 Use cpu_spl3() for all device-level spls, not splhigh().
Lets reset button work when stuck at device  spl.
1999-02-18 10:24:16 +00:00
mycroft
699a815751 Pass the correct address (PCI bus address, not PA) to the card.
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits.  Boom.
1999-02-18 09:22:17 +00:00
mycroft
579eeb8cf7 If we have to increase the boundary due to the spill pages, use the old
boundary as an alignment.  Otherwise we fail to enforce the old boundary,
causing massive lossage.
1999-02-18 08:55:16 +00:00
mycroft
e0b748e50c Pass the correct address (PCI bus address, not PA) to the card.
Works on an Alpha now.
1999-02-18 07:59:30 +00:00
scottr
1bd69f0915 Er, function prototypes don't belong in fooreg.h. 1999-02-18 07:50:54 +00:00
scottr
9da0e1f5c5 First cut at a floppy disk device driver, for IWM and IWM-compatible
controllers.  Supports GCR-encoded disks only (400K and 800K); neither
of the 1.44M formats will work until someone figures out how to drive
the SWIM and its descendants.

This code was written by Hauke Fath, and had only minor touchup (mostly
KNF) by me.
1999-02-18 07:38:26 +00:00
scottr
afb76cc809 Add the IWM driver. 1999-02-18 07:35:07 +00:00
scottr
1f3b03f6cd Add support for the IWM driver. 1999-02-18 07:32:56 +00:00
scottr
867a930654 Minor space-tab KNFing. 1999-02-18 07:16:17 +00:00
gwr
5cf3f8e3b2 It appears that pmap_physseg is now required in userland. Too bad. 1999-02-18 07:13:21 +00:00
mycroft
5e2fc07a14 Add separate halt_output and halt_input routines. 1999-02-18 07:08:35 +00:00
mycroft
c02bf3c4d7 Minor code munging. 1999-02-18 05:46:38 +00:00
thorpej
cfb2342145 Fix the code in epic_attach() that frees resources when the attach fails. 1999-02-18 02:24:30 +00:00
thorpej
5c457e71fe Only do the multicast filter bug work-around if in 10Mbps mode. Also,
don't reset the interface if the multicast list changes.  Just reprogram
the multicast hash table.
1999-02-18 02:12:09 +00:00
thorpej
982603ce5b Don't reset the interface when the media changes. 1999-02-18 01:24:29 +00:00
thorpej
78e18b8d8c Back out to the previous stable revision of the fxp driver. The latest
one had too many stability problems.
1999-02-18 01:23:41 +00:00
mycroft
6ce15ae4e3 spaces -> tabs 1999-02-18 00:55:36 +00:00
mycroft
f1e84a4ec5 A few things:
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.
1999-02-18 00:54:19 +00:00
mycroft
8b7b7cccc7 Fix a silly type. 1999-02-17 23:55:18 +00:00
mycroft
27963c294a Use the trigger interface, and clean up a pile of cruft. 1999-02-17 23:05:28 +00:00
mycroft
71105fbda7 Update comments. 1999-02-17 21:44:55 +00:00
christos
1aede0624c Now that shell has been fixed so that ". filename" does not look at . if .
is not in the path add ./ to the files.
1999-02-17 18:17:10 +00:00
tsubai
60307f0ef1 Sync with mac68k. 1999-02-17 14:56:56 +00:00
tsubai
e717f0bc2b Use mips/varargs.h. 1999-02-17 14:13:42 +00:00
bouyer
36a5fdb528 Some new fields in the ext2fs superblock, from Tim Shepard.
While I'm there, reformat this file a bit.
1999-02-17 13:09:43 +00:00
thorpej
6d0cb6e410 Change a straggling splimp -> splnet. 1999-02-17 09:11:29 +00:00
itohy
8fb18ac4cf Escape SCCS marker so as not to confuse what(1). 1999-02-17 08:13:12 +00:00
scottr
928c2f86e0 Fix a typo in the (unused!) splsched() macro. 1999-02-17 04:46:45 +00:00
mrg
e21cbb5e8b KNF nit. 1999-02-17 03:54:46 +00:00
thorpej
69a4436f8b Avoid initializing the interface in the SIOCSIFFLAGS if ! UP and ! RUNNING. 1999-02-17 03:40:59 +00:00