Commit Graph

16201 Commits

Author SHA1 Message Date
gwr 5c88d15269 When cold!=0 force SCSI_POLL (otherwise swapconf will hang) 1997-03-24 17:16:45 +00:00
thorpej 6adc9b82fd Add the IFM_10_EXT ("external") ethernet subtype, to accomodate cards
that have the notion of an "external media port".  Suggested by
Matt Thomas <matt@3am-software.com>.
1997-03-24 06:57:31 +00:00
jtk 983d7a8c15 use new name sc_drq8 and initialize sc_drq16 (reflect changes to SB driver) 1997-03-24 05:30:28 +00:00
mycroft 136c4013aa Expand the comment on the previous. 1997-03-24 01:36:43 +00:00
mycroft bfcfadcf86 Reenable the keyboard controller reset hack. 1997-03-24 01:32:38 +00:00
thorpej 4c03c2945d Resolve conflicts from merge. 1997-03-24 00:35:02 +00:00
thorpej 24840394af Fix a screwup (my fault, oops) that caused the stack to get corrupted.
From Ian Dall <Ian.Dall@dsto.defence.gov.au> on port-pc532.
1997-03-24 00:04:53 +00:00
cgd 1b15d36cf1 eb64+ needs shared_intr.c 1997-03-24 00:00:33 +00:00
pk f62b65006f Clamp burst sizes to maximum value of parent.
Reset ledma from leattach().
1997-03-23 22:54:26 +00:00
fvdl 17d7bd9d41 Check for the use of reserved ports on a per-request basis, unless
MNT_EXNORESPORT is specified. The check is cheap and doesn't impose
any extra overhead.
1997-03-23 20:55:51 +00:00
fvdl 1a6e45d35f Add MNT_EXNORESPORT option. 1997-03-23 20:54:06 +00:00
is f63af0fda7 Now that ARP on ARCnet works, set it as default. 1997-03-23 15:59:41 +00:00
veego 196e8ba3c2 Resolve conflicts from merge. 1997-03-23 09:37:28 +00:00
is 4555777c80 Fix several bugs related to the new ARP code, and ARCnet ARP support.
Among other, add ARPHRD_ARCNET definition, make sure the hardware type is
set on outgoing ARP packets, make sure we dont send out replies as broadcasts.
1997-03-23 01:22:35 +00:00
cgd da14b3d856 clean up isp_poll() so that it works more correctly. (Modeled on the version
in the BusLogic driver.)
1997-03-23 00:50:07 +00:00
cgd d9eb899be8 add the PPP_FILTER option 1997-03-23 00:48:37 +00:00
ragge 720d1ef3f7 Update address struct to recognize KA420 motherboard. 1997-03-22 23:05:31 +00:00
ragge 65469bc546 CPU support for MV3100. (KA41) 1997-03-22 23:02:07 +00:00
pk a13464f5c9 Garbage collect. 1997-03-22 22:13:17 +00:00
pk f839bb9816 Add a `[ide]c_ncachelines' field to cacheinfo structure; initialize
and use it where appropriate.
Add `swift' and `turbosparc' cache enable function.
1997-03-22 22:03:25 +00:00
pk 8d0c0fd49b For each major "module", define a separate set of MMU control register bits. 1997-03-22 19:15:53 +00:00
mycroft 7d3520e146 Redo the way exceptions are set up, and add a handler for
exception 15, which the P6 local APIC may erroneously send us.
1997-03-22 16:56:00 +00:00
ragge ab80098c50 Clean up DZ console routines. Use memory size from boot (if provided). 1997-03-22 12:50:56 +00:00
ragge 608bad4ba2 Bugfixes to lance routines. Get memory size from rpb to pass to kernel.
Support some more CPU types in boot.
1997-03-22 12:47:27 +00:00
thorpej edad9d2e05 Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 09:13:48 +00:00
thorpej e321bba79a Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 09:03:29 +00:00
thorpej 83edf0b6cd - oops, fix a missing space in a printf
- allow whitespace before a command, and if there is only whitespace,
  don't print the help message (seeing a help message after just
  tapping return can be a shade annoying).
1997-03-22 09:00:41 +00:00
matthias bf4354241e * Use machine/conf.h instead of sys/conf.h to get the
lpt{open,close,write,ioctl} prototypes.
* Remove the cdev_decl(lpt). We get it from machine/conf.h.
* Add and use LPTSOFTC.
* Use level triggered interrupts (seems to work with less spurious interrupts).
* Do not use NLPT. Use lpt_cd.cd_ndevs to get the number of lpt devices.
* ether_ifattach now needs the ethernet address of the device. Supply a
  dummy address.
1997-03-22 08:29:52 +00:00
matthias 80f02e3d99 DEV_RTC is gone. 1997-03-22 08:29:48 +00:00
matthias b75d400dd2 DEV_RTC is gone.
Remove uk driver, add se driver.
1997-03-22 08:29:45 +00:00
matthias e436eab8ea DEV_RTC is gone. 1997-03-22 08:29:41 +00:00
matthias 62e4baf13e Add softnet prototype. 1997-03-22 08:29:19 +00:00
matthias 86855546de Do intr_init and intr_establish for softclock and softnet in mbattach. 1997-03-22 08:29:01 +00:00
matthias c532db2665 * Include if_inarp.h and not if_ether.h.
* Include arp.h instead of ether.h.
* Remove softnet prototype. It is in cpu.h now.
* Remove calls to intr_init and intr_establish for softclock and softnet.
  This is done in the mainbus attach routine now.
* Remove impintr. This seems to be dead.
* Add natmintr :-)
1997-03-22 08:28:59 +00:00
matthias 282907668f Don't hardcode the name of the clock device. Use dv_xname. 1997-03-22 08:28:56 +00:00
thorpej ecfdbcaa40 Mimmick the old boot block's hdN -> Xd0 (where X is specified by the
disklabel type) unit conversion behavior.
1997-03-22 04:15:51 +00:00
thorpej f07be03679 Purely cosmetic whitespace and indentation changes (mmm, indent(1)) 1997-03-22 01:48:27 +00:00
thorpej 5e82fddd43 Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 01:41:34 +00:00
thorpej ddf4bc9113 Don't abort if we don't find an MBR or NetBSD MBR partition; simply assume
that the NetBSD portion of the disk begins at sector 0.
1997-03-22 01:33:10 +00:00
mycroft e44dc60fc6 Fix editing error in new config changes. 1997-03-22 00:17:59 +00:00
thorpej 5bd8a86d23 Link installboot statically so that it can be used on install floppies
and in emergency situations.
1997-03-22 00:16:56 +00:00
gwr c874276d35 First cut at crashdump support. 1997-03-21 22:46:05 +00:00
thorpej 0e541517e5 Nuke unneeded "machine ..." line, pointed out by John Birrell. 1997-03-21 22:40:33 +00:00
scottr f3f27175b6 Clean up after arp conversion; from Erik Bertelsen, closes PR 3372. 1997-03-21 21:42:39 +00:00
gwr 00ae7b5b2a Oh well... use our own version of this. 1997-03-21 18:57:54 +00:00
mycroft 9e9b78f1b5 Don't feed packets to BPF that were not `sent' from the loopback device.
From PR 1693, by Jean-Luc Richier.
1997-03-21 16:58:49 +00:00
pk e38b52a46b Thinko. 1997-03-21 16:29:34 +00:00
pk 1bc742e6dd cypress_cache_enable: clear bits explicitly before setting. 1997-03-21 15:35:51 +00:00
pk d584dba41d Use `setpgt4m()' in some more places. 1997-03-21 15:19:29 +00:00
pk 3a7c1b8d57 viking: flush cache before enabling MMU. 1997-03-21 14:30:19 +00:00
veego d34943dc4f Add a missing test for the PicassoIV, which fix the colour problem. 1997-03-21 09:40:58 +00:00
matthias c796ad8010 Add missing arp tag for se driver. 1997-03-21 08:55:09 +00:00
pk e221d20b5b Compute a cache attribute correctlier. 1997-03-21 08:39:40 +00:00
matthias 92f94ebec2 That shouldn't get deleted. I wanted to delete icuinit.c, not intr.c. 1997-03-21 08:34:57 +00:00
matthias 4c63b60bae intr.c 1997-03-21 08:31:59 +00:00
jeremy 4d949455d4 Fixed address for bwtwo framebuffer. 1997-03-21 07:28:36 +00:00
mikel e19a744a21 kern.osrevision now returns value of NetBSD symbol (from <sys/param.h>),
not BSD symbol.  fixes PR kern/2016.
1997-03-21 06:50:48 +00:00
cgd e2effbd3b9 define Elf{,32,64}_Note as appropriate, add a constant for NetBSD-specific
notes' 'name' fields, and add a couple of NetBSD-specific note types.
1997-03-21 05:34:40 +00:00
mycroft cf83d6c33f Use native IPL_AUDIO for i386. 1997-03-21 04:36:29 +00:00
mycroft 1963665c7e Add IPL_AUDIO. 1997-03-21 04:34:18 +00:00
mycroft 188dec4d19 Clean up a bit, and export isa_dmamask() and isa_dmaunmask() interfaces. 1997-03-21 02:17:11 +00:00
pk cb8601ae21 In viking_pcache_flush(), use a "flash flush" during boot-strapping. 1997-03-21 01:49:03 +00:00
pk 28350d7d18 Set pcache_flush_line function pointer for correct cache configuration. 1997-03-21 01:47:15 +00:00
pk 31f3ff5346 Store cache associativities in the `cacheinfo' structure, and use it
in computing the cache "alias distance" and in the viking cache line
flush function.
1997-03-21 01:32:15 +00:00
cgd a823d31f7e fix check for bus number when root dev is behind PPB 1997-03-21 01:26:08 +00:00
cgd 26c8aefcc3 clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
out since they're not currently supported, but the options are 'known').
Add 'se' Cabletron SCSI Ethernet driver.
1997-03-21 01:12:40 +00:00
cgd f0833f24f4 clean up CPU specs a bit. Add entries for the jensen and eb64+ (commented
out since they're not currently supported, but the options are 'known').
1997-03-21 01:12:21 +00:00
cgd 2d3755c5ba files file entry for eb64+ 1997-03-21 01:09:02 +00:00
mycroft 51c794927e Minor changes. 1997-03-21 00:56:43 +00:00
mycroft 9bc57d2244 Add PnP ID for SB AWE32. 1997-03-21 00:49:38 +00:00
mycroft 3523bc35d5 Add an isa_dmacount() function, to get the current residual count on a channel. 1997-03-21 00:00:21 +00:00
pk d79f5b1733 Add declaration. 1997-03-20 23:57:30 +00:00
pk 5704efd375 Replace many setpte4m() calls with a simpler helper function because
the address of the desired PTE location is readily available in the
callers context (setpte4m() retraces the entire 3-level structure
to arrive at the PTE location).

Also, in many cases we can do away with the distinction between pmaps
that have or have not allocated a context. This is really only useful
in cases where we're interested in the REF or MOD bits which can differ
in the TLB version of a PTE.  By doing this, we avoid getpte()'s which
in many cases instruct the MMU to start a table walk only to find out
that there's nothing there after going 2/3 of the way, or waste a TLB
entry because of TLB flushing soon after getpte() completes.

In addition, there's a hook to flush the cache line corresponding to
the (kernel virtual) location of a PTE entry when it gets altered.
1997-03-20 23:48:37 +00:00
pk 6cea599cbf Add hook for flushing a single cache line. 1997-03-20 23:26:23 +00:00
pk 63c1c6ab1c Remove a bunch of no-ops. 1997-03-20 21:44:21 +00:00
mycroft 6f51eb5c3d Use autoinitialize DMA mode on the SB2 and later. Partly from Torsten Duwe. 1997-03-20 21:42:11 +00:00
chuck 63c14f2d75 MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> and
Anne Hutton <hutton@isi.edu>]:
   - add support for Adaptec 155 PCI ATM cards (e.g. ANA-5940)
          - add sc->is_adaptec to handle differences between cards.
          - break out MID_MK_TXQ/MID_MK_RXQ seperate macros to handle
                  the new Adaptec format TXQ/RXQ.
          - adjust en_dqneed to return 1 on ADP (since the Adaptec can
                  DMA anything in one DRQ/DTQ!)
          - add hook for a bus specific reset function (adaptec has
                  a seperate reset register that needs to be hit when
                  resettting the midway).
          - adjust DMA test to not worry about burst sizes on the
                  adaptec (since it handles it all for us!) and to handle
                  the new DTQ/DRQ format.
          - add Adaptec DMA support to en_txlaunch() and en_service()


BUG FIXES:
   - fixed receiver panic under heavy load ("lost mbuf in slot 0!").
          when the reassembly buffer overflows, the T-bit is set in
          the RDB and the data field is empty.  en_service() sets up
          a 4-byte (RDB size) dummy DMA without IF_ENQUEUE.  but the
          recv intr handling in en_intr() always does IF_DEQUEUE.
          as a result, a successive recv intr loses its mbuf and
          leads to a panic.  the solution is to only IF_DEQUEUE if
          the interrupt has non-zero length (indicating that there
          is an mbuf to get).   in order for this to work, EN_DQ_MK
          must always be non-zero.   we do this by or'ing in an unused
          bit (0x80000).
                  reported by: Kenjiro Cho <kjc@csl.sony.co.jp>

   - fix setting of transmit channel when txspeed[] is non-zero
          (e.g. traffic shaping).    the old scheme didn't work
          properly (it allowed the same VCI to use multiple tx channels
          thus defeating the txspeed[] parameter).   the new scheme
          statically assigns a VC to a channel when txspeed[] is set.
          [note that the code to set txspeed[] isn't in the driver right
          now since a MI interface to do this hasn't been made yet]
          we add sc->txvc2slot[] and sc->txslot[n].nref for this.
                  reported by: Kenjiro Cho <kjc@csl.sony.co.jp>,
                                  Milind M Buddihikot <milind@ccrc.wustl.edu>,
                                  Dong Lin <dong@eecs.harvard.edu>

   - when doing SRAM copies, be sure to round up the length to the next
          largest word (otherwise the driver will try to do a byte clean
          up DMA and then get an ID error interrupt).


MINOR CLEANUPS:
   - clean up loops in DMA test
                  contributed by: Kenjiro Cho <kjc@csl.sony.co.jp>

   - restructure and cleanup of en_read/en_write macros/inlines

   - clean up some byte ordering stuff so that we are consistant throughout
          the driver
1997-03-20 21:34:42 +00:00
chuck aeee0bf5a5 add support for adaptec PCI atm cards (see midway.c log for details) 1997-03-20 21:30:46 +00:00
jeremy 4882df57ff Change location of if_ether.h to net/ from netinet/. 1997-03-20 21:21:00 +00:00
pk 5718c246fd Define various no-op functions. 1997-03-20 21:16:20 +00:00
pk 7cf0d72881 Add a `no-op' function that the compiler can not touch. 1997-03-20 21:10:31 +00:00
chuck e64066a694 regen 1997-03-20 20:22:17 +00:00
chuck 088d71a793 - add Adaptec ATM ID's (0x5900, 0x5905). still trying to find out how they
correspond to the ANA numbers...  certainly includes ANA-5940.
 - add Efficient Nets product 0x0000.  according to linux pci.h
	the 0x0000 is an FPGA version of the midway card and the 0x0002
	is the ASIC version.
1997-03-20 20:18:43 +00:00
mycroft b89990fba6 Oops; fix pasto. 1997-03-20 20:18:40 +00:00
mycroft 4f9648674a Make sure we round the block size to a multiple of the sample size. 1997-03-20 20:15:24 +00:00
scottr 1c9987dab4 Several minor changes:
- Indent some comments appropriately per KNF.
 - Output all diagnostics using the device name rather than a static string.
 - Fix a (mostly marmless) bug in snintr(), where loss of heartbeat wasn't
   properly ignored and could mask the `receive descriptors exhausted'
   diagnostic.
1997-03-20 17:47:51 +00:00
mycroft 7a55cafeeb Implement set_format. 1997-03-20 16:51:38 +00:00
gwr a4b8e33b2b This needs muli-include protection now. 1997-03-20 16:21:10 +00:00
is 6c55a345c6 Make this compile with NetBSD-1.2D (if_ether.h location changed). 1997-03-20 16:15:15 +00:00
is 5df51f68f4 Make this compile with 1.2D (if_ether.h location changed) 1997-03-20 16:14:22 +00:00
mycroft 2c6048e49f Make sure to recalculate the block size after changing the
sampling rate.  Also, nuke the global variable audio_blocksize.
1997-03-20 16:13:55 +00:00
mycroft b1a3eda88c Copy back the format we set in SNDCTL_DSP_SETFMT. 1997-03-20 16:11:29 +00:00
mycroft e0b3534b6c Remove bogus block rounding code. If the application sets a
block size explicitly, it had better know what it's doing.  From
PR 2587, by Robert Baron.
1997-03-20 16:04:22 +00:00
gwr c3f299a527 Now using dev/ic/ncr53c9x.c 1997-03-20 16:01:36 +00:00
gwr c921c9b954 This needs muli-include protection now. 1997-03-20 15:56:44 +00:00
matthias 0f3c811db6 * Remove the unused variable fsr in ieee_invop. 1997-03-20 12:04:08 +00:00
matthias a366400675 * clock and rtc are real devices now. 1997-03-20 12:03:27 +00:00
matthias 5efc40089c * Add new file arch/pc532/pc532/mainbus.c.
* Remove arch/pc532/pc532/icuinit.c.
* clock and rtc are real devices now.
* Change all uses of needs-count to needs-flag.
1997-03-20 12:03:24 +00:00
matthias c44822f0e3 * Add "-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format"
to CWARNFLAGS.
1997-03-20 12:03:23 +00:00
matthias ed42b2c9d3 * Remove uk driver, add se driver. 1997-03-20 12:03:20 +00:00
matthias b49a214439 * Don't reference NSCN.
* Use machine/conf.h not sys/conf.h to get the prototypes for the
  scn cdev functions.
* Include <sys/kgdb.h> to get prototypes for kgdb_connect and kgdb_attach.
* Add missing prototypes for some functions.
* Make ddb work before the console was opend. Thank's to Ian Dall
  for this change. His comment:
	Also, ddb doesn't work if a break is set before the console
	is opened. That is because DTR and RTS are not asserted. It
	would probably work if the console is wired to ingnore DTR
	or RTS. The change below is probably not very correct.
	Proabably the state of DTR and RTS should be saved and DTR
	and RTS asserted on the start of a polled serial input and
	the saved values restored on exiting polled input
* Remove unused function scn_ei.
1997-03-20 12:03:03 +00:00
matthias 80502accfe * Remove unused ncr_minphys prototype.
* Add prototype for ncr_ready.
* Add ncr_wait_not_req function from Ian Dall:
	The ncr_wait_not_req business is to avoid a potential race.
	When the pseudo DMA finishes, the target may not have
	lowered REQ yet. If we just charge ahead, we eventually test
	for phase when REQ is high. However, if REQ has not yet gone
	low for the last byte transferred, this will be the wrong
	phase. This is taken from the dp8490 application notes. The
	last ACK is not deasserted until the dma is completed.
	Deasserting the last ACK should be delayed until the last
	REQ is deasserted. I am not sure if there are ever devices
	this slow, but I believe the code is "more correct".
1997-03-20 12:03:01 +00:00
matthias dd38be40dc * Add prototypes for pmap_pte, pmap_testbit and pmap_changebit.
* Remove PTDpaddr. This is no longer in use.
1997-03-20 12:02:42 +00:00
matthias 5bb951d4d4 * Remove IEDGE and IPLOARITY. These constants are no longer in use. 1997-03-20 12:02:40 +00:00
matthias 1e27bb59c8 * Add prototypes for kdb_trap and db_dasm_ns32k. 1997-03-20 12:02:37 +00:00
matthias 8462078c2a * Add prototypes for ieee_handle_exception, ram_size, restore_fpu_context
and save_fpu_context.
* Remove prototypes for cpu_reset (it is local to machdep.c) and
  startrtclock (it does no longer exist).
1997-03-20 12:02:36 +00:00
matthias 98eb9b47ea * New file. This contains the definitions used to fill the cdev and
bdev switches for devices unique to the pc532.
1997-03-20 12:02:34 +00:00
matthias bcdbce6d4f * Initialize the interrupt controller part of the ICU in intr_init.
* Move softnet and the establishing of the softclock and softnet
  interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:02:00 +00:00
matthias 8a6b052853 * New file that contains the match/attach/print function for the mainbus
device.
* Some generic ICU initialization is now done in mbattach.
1997-03-20 12:01:23 +00:00
matthias 715cb6f3df * Include sys/ptrace.h to get prototypes for process_read_regs and
process_read_fpregs.
* Remove extern definitions for proc_trampoline and pmap_pte. We
  get prototypes for these from some headerfiles.
1997-03-20 12:01:03 +00:00
matthias 6a7e85766c * Include sys/kgdb.h to get prototypes for kgdb_trap.
* Fix some printf format strings.
1997-03-20 12:00:59 +00:00
matthias 0f39516c71 * Remove unused local variable in sys_sysarch. 1997-03-20 12:00:58 +00:00
matthias a9e83c741a * Include sys/proc.h, sys/fcntl.h and machine/conf.h to get some missing
prototypes.
* Get rid of RTC_DEV. All rtc support now lives in clock.c.
1997-03-20 12:00:56 +00:00
matthias 2608cc4aff * Remove stale rcsid string.
* Add missing prototypes.
* Move over softnet() from intr.c.
* Establish softnet and softclock interrupts in init532.
* Misc cleanup to get it compiled with the new CWARNFLAGS.
1997-03-20 12:00:54 +00:00
matthias 62d993de87 * Remove trailing newline. 1997-03-20 12:00:51 +00:00
matthias 5e6e424a62 * Initialize the interrupt controller part of the ICU in intr_init.
* Move softnet and the establishing of the softclock and softnet
  interrupts to machdep.c.
* Fix some printf format strings.
1997-03-20 12:00:50 +00:00
matthias 5e1cac29c9 * Include sys/systm.h and netinet/in.h to get missing prototypes. 1997-03-20 12:00:47 +00:00
matthias 855084814b * Include <sys/disk.h> to get prototypes for dk_establish.
* Fix definition of strat arg for {read,write}disklabel.
1997-03-20 12:00:46 +00:00
matthias bd1c07266e * add missing prototypes.
* Fix some printf format strings.
* Remove unused Debugger() definition.
1997-03-20 12:00:43 +00:00
matthias 79e491a855 * Add missing prototypes and casts.
* Fix a printf format string.
1997-03-20 12:00:42 +00:00
matthias 0b6fa5346b * Add missing prototypes. 1997-03-20 12:00:40 +00:00
matthias 966187a7e0 * Add missing prototypes.
* Reconstruct a piece of text that got lost in the past.
* Make the output for undefined instructions more consistent.
1997-03-20 12:00:37 +00:00
matthias 4712de3be8 * Do not call all the *_decl macros. This is done by <sys/conf.h> and
<machine/conf.h>.
1997-03-20 12:00:34 +00:00
matthias b677f20e5d * Make the rtc and the clock real devices. Initialize the clock parts
of the ICU in clock_attach.
* Pull over (and reformat) rtc_rw from mem.c.
* Convert the rtc driver to use /sys/dev/clock_subr.c (partially by
  stealing code from the sun3 port).
1997-03-20 12:00:33 +00:00
matthias fa30cfc066 * Remove all the mainbus stuff. This is in mainbus.c now.
* The clock is no longer started by startrtclock. This is done by
  clock_attach now.
1997-03-20 12:00:30 +00:00
mycroft a2f33a43c2 Turn off a debugging printf(). 1997-03-20 11:04:51 +00:00
mycroft 95abb133dc Add 16-bit DRQ support on PnP, and enable 16-bit output. 1997-03-20 11:03:10 +00:00
mycroft ab86334267 Second DRQ is at 0x75, not 0x72. 1997-03-20 10:48:02 +00:00
thorpej 12c0a8c5c8 Correct keyboard map references in the default case. From
Klaus Klein <kleink@layla.inka.de>, PR #3361.
1997-03-20 08:07:01 +00:00
thorpej 21c7befacf Back out part of the previous patch - not only does stuffing a sizeof()
into 8 bits generate (bogus) warnings on some architectures, but the
change to pad on "scsi inquiry" is no longer needed, apparently.
Thanks to Matthias Pfaller for pointing the latter out to me.
1997-03-20 07:13:07 +00:00
mycroft c1cc14fa25 Combine set_encoding and set_precision into a single set_format interface. 1997-03-20 06:48:48 +00:00
mycroft 41bbc3f5b6 SOUND_PCM_WRITE_CHANNELS -> SNDCTL_DSP_CHANNELS, to match current Linux code. 1997-03-20 04:21:31 +00:00
mycroft de69173e77 Fix oversights in previous. 1997-03-20 03:56:11 +00:00
mycroft 8b4878a6ba Fill in silence-padded blocks so we don't get gaps. From PR 3357,
by Lennart Augustsson.
1997-03-20 03:19:53 +00:00
mycroft 4cba0b41af cpu_reset(): Improve the triple-fault code, and use it by default for now. 1997-03-19 22:39:25 +00:00
mycroft da53c636bc ether.h -> arp.h
NETHER -> NARP
1997-03-19 20:32:11 +00:00
mycroft a283cb636c Check for errors returned by AD1848 routines. 1997-03-19 19:54:44 +00:00
cgd 2cde9c6e69 fix multi-function device support, add new known classes/subclasses,
and clean up class/subclass printing.  From brb@brig.com via PR 3359.
1997-03-19 19:38:46 +00:00
mycroft 2b72395bfc ad1848_commit_settings(): Don't set the speed/format register if the
parameters haven't changed.  From PR 3360, by Jason Baker.

Also, clean up several overly-complex interfaces.
1997-03-19 19:31:15 +00:00
sommerfe 62852f4d92 If we're "degraded", say just *how* degraded we are.. 1997-03-19 18:18:02 +00:00
sommerfe 9fefd40478 In 16-bit mode, mov %ax,%bx is interpreted as mov %eax,%ebx; this
breaks zero-extension of the 16-bit memory size return from the BIOS.
on at least one system, the trash left in the upper half of %eax
causes the kernel to crash during VM system initialization when it
thinks it has on the order of 2**31 bytes of memory to play with.

We now *say* mov %eax,%ebx, but *mean* mov %ax,%bx..
1997-03-19 18:12:10 +00:00
gwr b5afc4b28d Change arg two of all the match functions back to struct cfdata
now that __BROKEN_INDIRECT_CONFIG has been removed.
1997-03-19 16:24:38 +00:00
is 33d80a37da Deal with AF_ARP on transmission --- without it, the new ARP code doesn't
work.
1997-03-19 16:17:04 +00:00
scottr 1c0a3c8ce7 Several more changes to move us toward MI-ness:
- Use more consistent and portable types in the softc.
 - Map registers using an array of bus_size_t offsets, and set up the
   mapping in the attach code (thanks to Jason Thorpe for suggesting
   this!).
 - Disable the ae-specific watchdog, which is no longer necessary in
   the general case.

Still remaining:  split out functions used to copy data to/from the
card, and retain a way to have a local driver name with the MI code.
1997-03-19 08:04:38 +00:00
mikel eb7e30aa3d normalize off-by-four ad1848 register offsets.
also silence probe unless debugging is enabled.
1997-03-19 06:47:37 +00:00
mikel 80a8a81608 normalize off-by-four ad1848 register offsets. 1997-03-19 06:45:21 +00:00
mycroft aa5b127136 e_wmesg doesn't need to be NUL-terminated; give it an extra byte instead. 1997-03-19 05:36:26 +00:00
mycroft eb41ccd5fe Emulate the SOUND_PCM_WRITE_CHANNELS ioctl. From PR 3356, by Lennart
Augustsson.  Also add hooks for mixer ioctls.
1997-03-19 05:12:13 +00:00
mycroft ef083dd857 fill_eproc(): Fill in e_login. From PR 3351, by Geoff Wing. 1997-03-19 04:55:07 +00:00
mycroft ff6b9e27ce Do not permit the user to set the nested task flag. 1997-03-19 03:52:02 +00:00