mycroft
09cad93ce8
Implement a better backpressure mechanism so that data is collected
...
in the driver's buffer if the tty buffer is full. If the driver's buffer
becomes full, turn off receive interrupts until it drains a bit.
1997-06-15 11:18:59 +00:00
thorpej
da1b5f9021
It's perfectly normal for an older (e.g. pre SCSI-2) device to send
...
MESSAGE_REJECT in response to SDTR or WDTR. Because of this, the
printfs that indicate refusal of sync/wide negotiation are unneeded
in normal operation. In the __NetBSD__ case, disable them by default.
They, like the other extra-verbose ahc driver boot messages, may be
reenabled with "options DEBUG". The behavior in the !__NetBSD__ case
is unchanged.
1997-06-09 01:51:03 +00:00
thorpej
6bf33a7fe3
Merge pdq-970604 update.
1997-06-08 19:47:13 +00:00
thorpej
cd4fc920b0
Put back Matt Thomas's revision ID, per PR 3723, submitted by
...
enami tsugutomo <enami@ba2.so-net.or.jp>.
1997-06-08 18:44:02 +00:00
thorpej
b937ee4745
- Simplify mailbox DMA setup, allowing the front-ends to allocate the
...
mailbox storage in a way they see fit.
- Define macros to index and size the request and result queue entries.
1997-06-08 06:31:52 +00:00
thorpej
fbc0df0a1a
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:30:02 +00:00
mellon
4f4f344f71
Clean up conflicts during merge (thomas de-970603)
1997-06-06 23:14:19 +00:00
mjacob
62b3daa7d2
Finally found the cause of that nagging 'lost command' (for the first
...
command) bug: the initial response queue index is take from mbox 5,
not mbox 4, and mbox 5 wasn't getting initialized to zero.
1997-06-01 23:42:04 +00:00
mycroft
cf09974361
Add DMA37MD_DEMAND and DMA37MD_BLOCK.
1997-05-29 21:42:28 +00:00
mycroft
6bfd7b7d45
Remove unneeded call to comstop() in commsrint(). This fixes a problem
...
where the driver would sometimes retransmit bytes.
1997-05-26 14:54:46 +00:00
pk
c6a933f6ea
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:59 +00:00
thorpej
97c6a307e3
Where _is_ that brick when you need it?!
1997-05-24 03:45:40 +00:00
mrg
ac74fdbb9c
KNF.
1997-05-19 04:01:16 +00:00
pk
990857fe21
Mods for ESP406/FAS408 SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:56:55 +00:00
pk
72d640a497
Tweak gain curve (from nsayer@kfu.com; PR#2909)
1997-05-15 22:32:56 +00:00
thorpej
151926da32
Make sure we're in register window 0 before attempting EEPROM access,
...
pointed out by Matthias Drochner.
1997-05-14 00:22:00 +00:00
jonathan
fac2cd30a0
Set TX-available threshhold in epinit() just before enabling interrupts,
...
so TX_AVAIL intrs are enabled for root-on-NFS kernels.
Tested (and required) on 3c595TX with root-on-NFS kernel booted from floppy.
1997-05-11 05:47:08 +00:00
augustss
e63a553175
Change the interface between high and lowlevel audio drivers again:
...
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
augustss
07cf0ea21d
Oops, forgot this in previous commit.
1997-05-07 20:23:53 +00:00
augustss
c4a52794f1
Convert to new orthogonal audio encoding scheme and implement
...
some of the new encodings. The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
jeremy
3aa6ce0369
Moved from arch/sun3/sun3 and changed according to implied references
...
in recent commits to sun3/clock.c and sun3x/clock.c by Gordon Ross.
1997-05-02 06:15:28 +00:00
pk
31b943b8ac
Preliminary support for ESP406 and FAS408 variants (from Eric Hvodza; PR#3559)
1997-05-01 22:16:24 +00:00
scottr
cd3abdf098
Fix typo in last change.
1997-04-30 19:16:23 +00:00
scottr
c0d7fd03ae
Remove the use16bit softc field, replacing the functionality with dcr_reg.
...
This allows the front end to override the default DCR (byte-wide DMA,
x86 byte order, 8-byte FIFO) with different transfer size, byte order, DMA
parameters, and FIFO threshhold. If the loopback select bit is not set for
normal operation, the default is used instead.
Inspired by thoughts from Bernd Ernesti.
1997-04-30 18:09:14 +00:00
augustss
526ef2f618
Change the interface between the high and low level audio drivers
...
so that all audio encoding parameters are set at once. This simplifies
the interface and make error checking easier.
1997-04-29 21:01:33 +00:00
scottr
ad24724cbc
Machine-independent driver for DP8390/WD83C690-based Ethernet controller.
...
Derived from the ISA if_ed driver and the mac68k if_ae driver.
1997-04-29 04:32:07 +00:00
mycroft
103c7d360d
Oops; forgot to GC the last mbuf allocated when out of clusters.
1997-04-28 17:03:58 +00:00
mjacob
ac6fbba3ac
On alpha size_t is not an int, ergo last argument to dma setup glue
...
function can't be a pointer to an int.
1997-04-28 15:43:47 +00:00
pk
94eaf1bb04
Implement target selection using DMA.
...
To allow a period of testing the variable `ncr53c9x_dmaselect' is used to
enable this feature (default is 0, i.e. the old behaviour).
1997-04-27 22:08:51 +00:00
jonathan
dbf4f7b71f
* Tidy PHY [sic] selection code in epsetmedia().
...
* epinit() had both explicit xcvr selection for 3c589 and a call
to epsetmedia(). The first is redundant; delete it, and EP_COAX_DEFAULT.
* Update comments to reflect 3c589 and 3c509B fixes. Fix typos.
1997-04-27 21:09:56 +00:00
veego
bf37fc50d0
Rename the PROD_ID to PROD_ID_3C509 to make it possible to add other
...
product id's, e.g. for the 3c515.
1997-04-27 09:42:34 +00:00
veego
a2e1f15ba7
- Replace the check for EP_BUS_PCMCIA in epsetmedia with a check for
...
EP_CHIPSET_3C509 and change it a bit so it works now with the 3c509
and still works with the 3c589.
- KNF
1997-04-27 09:38:50 +00:00
jonathan
593e5dd8e1
Pad of first mbuf in chain, even if it's a cluster (pr 3536).
...
Garbage-collect padding of header mbuf.
1997-04-25 20:14:37 +00:00
mycroft
91a808523c
Fix typo in previous.
1997-04-24 08:05:13 +00:00
mycroft
68258fba20
Do not force the initial part of a packet into a separate mbuf.
1997-04-24 02:25:36 +00:00
mycroft
581399fc4c
If we fail to allocate a cluster to hold a large packet, simply
...
drop it rather than using a chain of tiny mbufs.
1997-04-24 02:24:04 +00:00
cjs
9be8b65e23
Smaller, cleaner code for aligning struct ip on receipt.
1997-04-23 08:15:03 +00:00
cjs
5c8bf48817
Align struct ip on incoming packets for all types of cards, not just
...
32-bit ones.
1997-04-22 21:19:11 +00:00
cgd
dcd9b58489
don't bother keeping around the i/o tag. It's useless by itself, and
...
without other significant changes to this driver wouldn't be particularly
useful to keep around permanently anyway.
1997-04-13 20:02:11 +00:00
cgd
04e7505aaa
clean up an autoconfiguration printf. Much more should be done
1997-04-13 20:00:29 +00:00
thorpej
c0c810cbe0
Initialize the scsi_link before calling bha_init(), since that is how
...
we check for "wide controller" now.
1997-04-11 01:34:25 +00:00
cgd
db0f072019
clean these up (mostly rename bus_space_{tag,handle}_t variables) so that
...
this code makes equal sense for memory and I/O space, prefer to map
the PCI front end via memory space (conditionalized on a patchable kernel
variable), and do a bit of other random NetBSD-specific cleanup. (These
changes were sent to Justin Gibbs on March 28.)
1997-04-10 02:48:38 +00:00
jonathan
f11d74c508
Remove IFF_LINK[01] "connector" support.
...
Add if_media support. Still missing a software autosense FSM.
1997-04-07 23:49:47 +00:00
scottr
d7a6762ae8
Fix a debugging printf() format.
1997-04-07 16:28:26 +00:00
mjacob
6d4d1f8852
Okay, Charles convinced me that XS_DRIVER_STUFFUP is better than XS_SELTIMEOUT.
1997-04-05 22:36:56 +00:00
mjacob
ddc693c299
A) Attempt to get clock rate from ISP chip prior to bashing it over the head
...
in reset. If none there, try and get from the bus/platform specific code.
If a nonzero value for either, set the clock rate. This is why the PCI
card versions weren't working- they need to be set at 60MHZ, rather than
the default 40MHZ (which worked fine for the internal ISP chips on the
Alpha 8X00).
B) If a isp_poll returns failure (command never completed) to the caller
and no error is set in the xs struct, set XS_SELTIMEOUT. And then call...
C) Added isp_lostcmd function to try and ask the ISP chip about it's current
state as well as the state of commands for a particular target/lun. This is
going along to try and figure out why the very first command to the ISP always
seems to get swallowed up.
1997-04-05 02:53:22 +00:00
mjacob
8f28eaab67
Need a bus/platform specific clock speed variable.
1997-04-05 02:48:36 +00:00
pk
c59dd873f4
Remove alignment requirement of ether_cmp(): turn it into a series of
...
byte comparisons. Compare the ethernet addresses backwards on the
assumption that address number byte 6 has the most random distribution,
so packets not for us spend the least time in here.
1997-04-04 22:35:36 +00:00
mycroft
9448a01404
New version of com driver. Uses a different queueing mechanism and a split
...
hardware/software interrupt mechanism for improved performance. Many odd
protocols bugs also fixed.
1997-04-04 20:56:34 +00:00
mycroft
232ade1b2b
comdefaultrate -> comconsrate
...
comconsbah -> comconsioh
Only use comconsrate on the console.
1997-04-04 20:49:49 +00:00