mycroft
4f9648674a
Make sure we round the block size to a multiple of the sample size.
1997-03-20 20:15:24 +00:00
mycroft
7a55cafeeb
Implement set_format.
1997-03-20 16:51:38 +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
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
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
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
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
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
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
thorpej
914022ca23
Resolve conflicts from merge.
1997-03-19 02:37:36 +00:00
christos
dd64e55c90
PR/3353: From Alistair G. Crooks: move to the new arp world.
1997-03-18 18:58:12 +00:00
cgd
5b1c90b820
add appropriate includes so that this deals properly with NS and CCITT+LLC.
...
(Includes stolen from dev/ic/am7990.c, because it's a (the?) canonical
networking hardware driver.)
1997-03-18 04:45:04 +00:00
thorpej
f94626f157
Driver for the Cabletron EA41x SCSI Ethernet Adaptor, written by
...
Ian Dall <ian.dall@dsto.defence.gov.au>. Converted to "new arp"
and some other (very) minor changes by me.
1997-03-18 01:31:15 +00:00
thorpej
8c465535e7
Two changes from Ian Dall <ian.dall@dsto.defence.gov.au>:
...
- Deal with devices that ignore the length specified in the
inquiry command.
- Allow asynchronous requests without using a buf (key off NOSLEEP instead).
1997-03-18 01:28:10 +00:00
is
bde018355f
Signed shifts are evil.
...
Thanks to Michael Smith for reporting, Jason Thorpe for pointing to the
report, doing a quick workaround which pointed me to the right code part and
for testing the final fix.
1997-03-17 18:29:56 +00:00
thorpej
0398318515
Resolve conflicts from merge.
1997-03-17 03:44:49 +00:00
thorpej
1d987a161b
#include <net/if_media.h>
1997-03-17 03:17:34 +00:00
thorpej
80e6765189
- Add support for media selection via if_media. If the front-end
...
does not supply media types, default to the "manual" type.
- Clean up the ETHER_CMP stuff slightly.
- Keep track of our carrier status, for media status requests.
1997-03-17 03:14:03 +00:00
cgd
cd0461fbb8
map either via memory or I/O space, depending on the setting of a
...
patchable kernel variable. eventually, it might make sense to turn
this into a driver flag or something.
1997-03-16 00:37:00 +00:00
cgd
d611773458
fix botches in is's new ARP changes
1997-03-15 21:06:09 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
mikel
8147d1718f
fix various AD1848/PSS misfeatures; from Jason Baker in PR kern/2045.
...
also did some misc cleanup of my own.
1997-03-13 08:34:49 +00:00
cgd
e36a5ca4de
change microcode array definitions from "unsigned short" to the more
...
correct u_int16_t, and remove bogus casts that the old definition
required.
1997-03-13 04:07:44 +00:00
mycroft
919efaeb60
Make the microcode table const.
1997-03-13 03:33:03 +00:00
mycroft
b0c4e068d0
Modify audio_fill_silence() to take an encoding number rather than a softc*
...
and mode.
1997-03-13 02:45:07 +00:00
mycroft
ac3b8b13b7
Don't share the silence block between devices. Make silence filling work for
...
more encodings, and make it device-independent. From Lennart Augustsson, in
PR kern/3305.
1997-03-13 02:19:32 +00:00
cgd
5f0d034532
include <vm/vm.h> for vtophys() on x86. kill extra <sys/kernel.h> incl.
1997-03-13 01:56:06 +00:00
christos
9733b260cd
Add a match for the ESS1868; from herb...
1997-03-13 01:45:11 +00:00
cgd
d999d514ce
make these compile (and hopefully run; they're untested) on the Alpha
1997-03-13 01:10:34 +00:00
cgd
8aa5282c68
clean up the __BROKEN_INDIRECT_CONFIG chunks of the last change
1997-03-13 01:04:02 +00:00
cgd
4c654c0acf
fixes from Matt Jacob so that these can compile and run on the Alpha.
...
(aic7xxx has been tested and works on the Alpha, bha has not yet been
tested on thne Alpha.)
1997-03-13 00:38:48 +00:00
mycroft
8f8b0d91e5
Remove bogus use of splhigh(), and apparently unneeded bzero().
1997-03-12 22:31:37 +00:00
cgd
cf26d31ad2
NetBSD RCS ID tweaks, a few comment block tweaks. Also, make copyright
...
notices consistent (per Matt Jacob).
1997-03-12 21:06:41 +00:00
cgd
099e30a322
ISP 10x0 driver from Matthew Jacob of NASA Ames Research Center.
...
(March 12, 1997 version).
1997-03-12 20:44:50 +00:00
cgd
265be6d839
enabled SQWE as well as PIE in reg B.
1997-03-12 19:13:20 +00:00
christos
12331eb691
Fix typo of PR/3319
1997-03-12 13:53:14 +00:00
mikel
d9b86972c1
SB minor version number is always two digits
1997-03-12 07:06:19 +00:00
cgd
9753d8f7a5
properly #define MC_REGB_SQWE. From Matt Jacob
1997-03-12 06:53:42 +00:00
cgd
dbaf4fbdbe
specs for ISP 10x0 (isp) driver PCI attachment. From Matt Jacob
1997-03-12 06:39:47 +00:00
chuck
7df0dbdd33
minor fixes to freebsd code sections from Kenjiro Cho <kjc@csl.sony.co.jp>
...
get ready to add support for adaptec version of midway card (which
has a different DMA interface).
1997-03-11 23:30:19 +00:00
mikel
877fe66c4e
SDEV_NOMODESENSE quirks are no longer needed for optical devices; from
...
Enami Tsugutomo in PR kern/3308.
1997-03-11 06:06:35 +00:00
mikel
1186720517
eliminate leftover header from bt -> bha conversion; noted by Enami
...
Tsusgutomo in PR kern/3310.
1997-03-11 04:24:03 +00:00
leo
3d849b9429
- Turn the sc_[tr]bufaddr fields into arrays of addresses instead of just
...
the base address. This allows for a more flexible layout of buffers
in the Lance's memory.
- Add a new element 'sc_saved_csr0' to am7990_softc. It's value is or-ed
with the current csr0 value in the am7990_intr() function. This allowes
for a 'deferred' interrupt sceme.
1997-03-09 21:12:39 +00:00
mikel
a71e39e5d5
fix some spelling errors noticed by Charles Kane <ckane@mipos2.intel.com>.
...
fix some more noticed by myself; all are in comments or strings.
1997-03-09 06:10:32 +00:00
thorpej
709ccfa853
Patch from Matt Thomas to deal with the fact that Pass 2.[012] of
...
the 21140A-A[CDE] have a buggy receiver which may hand and/or corrupt
data on receive overflows.
1997-03-06 22:32:20 +00:00
mikel
ffe5d2d664
don't forget the bus_space tag; from Azuma Okamoto in PR kern/3290.
1997-03-05 08:02:03 +00:00
mycroft
e481e52aa9
Fix a couple of splhigh()s that should be splbio().
1997-03-04 21:42:32 +00:00
mikel
4a6b41b8fe
garbage collect unused variable (was this struct declaration orginally
...
a typedef?); from Enami Tsugutomo in PR kern/3282.
1997-03-04 06:25:22 +00:00
christos
700cbbae46
Fix bug introduced in the conversion to bus_*(). Don't always say that
...
we are a JASS16. From enami tsugutomo.
1997-03-03 21:40:01 +00:00
briggs
2163898eeb
Add the 53c96 variant.
1997-02-27 13:59:32 +00:00
thorpej
dd89d8fd78
Machine-independent NCR 53c9x SCSI driver, derived from the SPARC/Alpha
...
versions. Thanks to Chris Demetrious and Paul Krannenburg for the
initial work towards merging the two.
1997-02-27 01:12:07 +00:00
gwr
9f53f9825f
Use sc_no_disconnect (per-target) instead of NCR5380_PERMIT_RESELECT.
1997-02-26 22:23:48 +00:00
gwr
07378343ed
Add the new member "sc_no_disconnect" to ncr5380_softc, and
...
remove NCR5380_PERMIT_RESELECT.
1997-02-26 22:22:13 +00:00
gwr
4dd31a28f0
Integrate fix for rude targets that transfer more data than requested.
...
(From Matthias Pfaller).
1997-02-26 20:31:16 +00:00
sommerfe
9def46bf50
Fix PR3260: cosmetic glitch in aha autoconf output.
1997-02-26 04:52:13 +00:00
christos
e4fb91bcb5
Fix PR/3251; also don't assign the checksum every time around the loop.
1997-02-24 22:08:25 +00:00
gwr
1da91c27bc
Tweak the KGDB glue slightly - do the printf here.
1997-02-24 16:03:05 +00:00
gwr
f9d32cbb9b
Add declaration for zs_check_kgdb()
1997-02-24 16:01:39 +00:00
thorpej
15b56daab6
If posting an error condition because the media has been unloaded,
...
make sure to set the residual count to reflect that no data was
transfered.
From Naofumi HONDA / MINOURA Makoto, PR #3007 .
1997-02-21 23:03:25 +00:00
thorpej
850b75414f
- Tidy up some printf code in chattach().
...
- Implement a simple quirks framework for changers.
- Add a quirk for the Spectra 9000 8mm tape library; it requires a
slightly-longer-than-1-minute delay to take tape inventory. Many
thanks to David Webster at Cygnus Solutions for testing this for me.
1997-02-21 22:06:52 +00:00
thorpej
625d310b1b
Handle optical disks a little better, from Naofumi HONDA / MINOURA Makoto
...
in PR #3009 , with some slight KNF from me.
1997-02-21 21:51:59 +00:00
jeremy
2eff5a6059
Fix typo in comment.
1997-02-21 07:14:21 +00:00
is
b22d1088ea
Make this compile again on NetBSD-current/i386.
1997-02-20 17:53:50 +00:00
mikel
b6a5671c00
make sure that packets are ours before passing them up if interface is
...
in promiscuous mode; from Juergen Weiss in PR kern/3121.
1997-02-20 06:59:32 +00:00
mikel
2af30c1cd3
make sure max_target is initialized for both buses on multibus parts;
...
from Anders Hjalmarsson in PR 3103.
1997-02-20 05:15:50 +00:00
gwr
4f4bade9a7
Improve a comment.
1997-02-20 00:32:15 +00:00
gwr
d8b59a12b5
Shared functions to convert between year/month/day/hour/minute/second
...
and "seconds since 1970" (POSIX time_t). See sys/arch/sun3/sun3/clock.c
for an example of how these can be used.
1997-02-19 23:29:28 +00:00
jonathan
c7cec27edf
Move if_ep media-sense code from front ends to inside back end,
...
to prepare for if_media, and to support EISA 3c59x cards:
* change epconfig() to take a short that encodes the chipset
type (3c509, or Demon/Vortex/Boomerang).
* add distinct 3c509 and Demon/Vortex/Boomerang media-sense
functions to back end.
* Add EISA match/attach support for the 3c592 and 3c597
(Demon) cards as well as the 3c509-comatibl EISA 3c509/3c579.
* Assume that ISA and ISA PnP cards are 3c509-style, until
proof to the contrary (e.g. large packet support).
Tested on 3c595, 3c590, and 3c509b. Not tested on 3c515 or Demon.
1997-02-18 10:51:06 +00:00
jonathan
788394a2e4
Change bha_pci product names to match latest pcidevs:
...
PCI_PRODUCT_BUSLOGIC_OLD946C -> PCI_PRODUCT_BUSLOGIC_MULTIMASTER_NC
PCI_PRODUCT_BUSLOGIC_946C -> PCI_PRODUCT_BUSLOGIC_MULTIMASTER
1997-02-17 22:42:21 +00:00
jonathan
82d682ac83
Correct low-order product code digits for 3Com 3c597 family.
1997-02-17 00:06:17 +00:00
jonathan
fcdd1b0065
fix typo in 3Com 3c597 product description.
1997-02-16 20:10:31 +00:00
jonathan
ac06c9aae3
Add product entries entries for 3c592, 3c597 (Demon).
...
(Assume revision zero until proof to the contrary.)
1997-02-16 20:01:14 +00:00
veego
932fca6287
regen.
1997-02-16 17:21:26 +00:00
veego
d0e4650c7d
Fix errors in the last commit.
1997-02-16 17:17:30 +00:00
jonathan
4fdff0ed65
* Add ep_complete_cmd() function, to issue commands that perform a reset
...
(RX_RESET, TX_RESET, GLOBAL_RESET).
Commands issued while a reset is in progress may be dropped. The driver
must wait until resets are complete; ep_complete_cmd() does so.
* Change RX_RESET, TX_RESET, GLOBAL_RESET to use ep_complete_cmd().
* Revert epconfig() to use inline RX_RESET, TX_RESET.
That avoids accidentally setting IFF_UP, which breaks both diskless boot,
and "halt" commands issued before the interface is brought up.
1997-02-16 04:09:18 +00:00
tls
d21c733fd8
greatly expanded pcidevs file courtesy of Carl Shapiro <cshapiro@sparky.ic.sunysb.edu>.
1997-02-15 11:07:08 +00:00
thorpej
a8756f0775
Pass the bus PA (i/o address) to pdq_eisa_init() to avoid doing
...
arithmetic on bus space handles (which is strictly forbitten.
Pointed out by Matthias Drochner <drochner@zelz28.zel.kfa-juelich.de>
in PR #3216 .
1997-02-13 00:08:27 +00:00
thorpej
2953a0ce90
Pass the i/o handle, not bus PA, to bus_space_unmap().
...
From Matthias Drochner <drochner@zelz28.zel.kfa-juelich.de>,
in PR #3216 .
1997-02-12 23:37:38 +00:00
thorpej
dfa1224fab
Oops, pass the memory handle, not bus PA, to bus_space_unmap().
...
From Matthias Drochner <drochner@zelz28.zel.kfa-juelich.de>, in
PR #3216 .
1997-02-12 23:36:04 +00:00
christos
041fb607e0
Add a break; in the irq/drq allocation loop so we take the first one instead
...
of the last one.
1997-02-09 18:36:44 +00:00
christos
12a7c99376
Fix an irq -> drq typo
1997-02-09 18:36:11 +00:00
mycroft
1dd1504980
Move the aha ISA probe functions into a separate file.
1997-02-07 17:37:27 +00:00
cgd
711939bcf4
add a bunch of commented-out, unconfirmed entries, based on data from
...
a "Smart Frame Buffer TURBOchannel Module" user's manual(?), and from
some "DECstation 5000 Model 240 Options and Upgrades" guides found
while cleaning out my office.
1997-02-05 22:14:18 +00:00
ragge
a1d8a4570c
Support for DL11 (-compatible) async ctlr.
...
Written by Ben Harris (bjh@mail.dotcom.fr ).
1997-02-04 19:13:15 +00:00
thorpej
e0145dbc88
NFSCLIENT -> NFS
1997-01-31 05:18:51 +00:00
cgd
f89ffa1fe4
don't clobber IER in cominit(). (suggested by mycroft.)
1997-01-30 19:42:33 +00:00
thorpej
9a815ed696
A performance optimization, inspired by a conversation with Thor Simon:
...
- Keep a freelist of component buffer headers, defaulting
to 8 headers per component (tunable with the CCDNBUF
kernel compile option).
- When allocating a component buffer, try to pull a header
off the freelist first, falling back on MALLOC() if the
freelist is empty. Use MALLOC() rather than malloc(),
because it will attempt to short-cut the allocation before
actually making a full-blown malloc() call.
- Keep statistics on how many component buffer headers have
been allocated and how many of those allocations have
resulted in freelist misses.
With these changes, I observed measurable decreases in system and
wall clock time on operations on an 8G ccd, as well as a measurable
drop in the time spent in ccdbuffer() (measured with kernel profiling).
1997-01-30 04:00:52 +00:00
thorpej
bb60822446
Fix OBOB in ccdopen() partition range check.
...
From Klaus Klein <kleink@layla.inka.de>, PR #3161 .
1997-01-30 03:32:56 +00:00
cgd
3573080902
split isasearch (!__BROKEN_INDIRECT_CONFIG) completely off of
...
isascan (__BROKEN_INDIRECT_CONFIG), and attempt multiple match/attach
of cloning devices in isasearch(). (If a match/attach succeeds for
a cloning device, try it again.)
1997-01-26 03:49:28 +00:00
thorpej
1392015f6b
These files are obsolete (ramdisk -> md).
1997-01-25 00:10:36 +00:00
christos
1a33eecdca
const poisoning
1997-01-24 22:13:10 +00:00
christos
2fe3b9727a
- increase string space for device class names
...
- fix the parser so that non-compliant isapnp devices work, and we
give up when there are too many errors (some on-board pnp sound/atapi/game
soundblaster compatible card). reported by chuck cranor
- fix the parser so that configuration tags that come after the
end-dependencies tag or before the begin-dependencies tag are merged
in properly (gravis ultrasound). reported by gary duzan
We now build a tree of card -> logical-dev -> conf, and in the end we
convert it to a list of conf...
1997-01-24 21:58:34 +00:00
veego
ff217ba6d9
Decrease the delay() in isapnp_wait_status(), 100 was too much.
1997-01-24 21:17:19 +00:00