pk
0fbf2ca04a
Make *print() a message if no scsibus was attached. Also, return something
...
valid.
1995-09-14 20:43:09 +00:00
hpeyerl
abe82a6680
Etherexpress-16 driver collision by Andrew Gillham <gillham@Digitron.COM>.
1995-09-14 12:41:32 +00:00
jonathan
d7b9b56e07
Rename the old pmax SCSI driver's "struct scsi_device" to
...
"struct pmax_scsi_device", to avoid name conflicts with the sys/dev/scsi
SCSI driver.
1995-09-13 19:35:53 +00:00
jonathan
dec12b783d
Initialization and keymapping code for DEC LK-201 and successor keyboards,
...
abstrated out of the pmax scc and dc7085 drivers.
1995-09-11 21:23:07 +00:00
jonathan
23366c17ff
Rename the old 4.4bsd/pmax old-style config "struct device" to
...
"struct pmax_device" to avoid conflict with <sys/device.h>.
Change the signature of interrupt-handlers to take a void *
(a pointer to the softc) and return an int (indicating spurious
interrupts or other conditions.)
1995-09-11 08:29:11 +00:00
thorpej
7e85a5a412
Fix misplaced #ifdef.
1995-09-06 04:15:59 +00:00
pk
589d83d6a8
Patches from Jason Thorpe to deal with 4/110 scsi (PR#1422).
...
Also repairs a problem noted by David Jones: detect scsi phase correctly.
1995-09-03 22:26:02 +00:00
thorpej
0696b30519
Wrap dk stats stuff in `#ifdef WORKING_DISK_STATISTICS'. Takes care
...
of PR #1388 until such time as dk stats works on all ports. XXX !!
1995-08-29 23:13:44 +00:00
thorpej
d6160bdc1b
Fix typo in comment, from Chris P. Ross.
1995-08-23 01:08:10 +00:00
jonathan
97cf65df4a
Change pmax ASC driver to use dynamically-allocated softc structures.
...
Concomitant changes to code that prints driver/unit name: use dv_xname
and dv_unit, instead of doing pointer arithmetic on elements of the static
softc array.
Remove support for old config. The old-config "driver" structure
is still present, because the pmax non-MI SCSI driver needs it.
Merge some off Per Fogelstrom's changes for the Pica driver,
which uses the machine-independent SCSI code. This is #ifdef'ed
out until the DMA is fixed to work on Decstations, too.
1995-08-21 21:22:43 +00:00
thorpej
a2db2c1899
Fix typo, pointed out by cross@va.pubnix.com (Chris P. Ross).
1995-08-21 18:25:52 +00:00
pk
d9e37f2bc7
Set the scsi link before calling config_attach(), so target/lun info is
...
available to, say, dk_establish().
1995-08-21 09:30:09 +00:00
leo
b7680d7c14
Select the right register structure for the Atari. Although it's big-endian,
...
it uses the odd bytes. Also make the registers volatile.
1995-08-20 13:24:05 +00:00
mycroft
4fec83b441
Fix oversights in previous change.
...
Remove ugly casts and correct spelling.
1995-08-19 04:58:44 +00:00
cgd
b0dc5d3d7f
local adaptations, and fix a could of compilation errors
1995-08-19 04:35:18 +00:00
cgd
1c8b202de7
use I/O ports on the i386
1995-08-19 04:27:31 +00:00
cgd
01597582c1
fix botch in one of my previous imports
1995-08-19 04:15:29 +00:00
cgd
9980150670
Generic FDDI support by Matt Thomas. Support for DEC "PDQ" FDDI chipset
...
and for the PCI attachment of said chipset ("if_fpa"), also from Matt Thomas.
Arguably, pdq* doesn't belong in sys/dev/ic, but it's going to be shared by
various bus attachment devices at some point in the future, and there's no
other place that seems to fit as well.
1995-08-19 00:59:47 +00:00
cgd
8b417fd28b
add 'fpa' for Matt Thomas's driver for DEC PCI FDDI boards. alphabetize.
1995-08-19 00:44:48 +00:00
cgd
c9dbf2d1d2
clean up 7/26 de snapshot import
1995-08-17 18:04:55 +00:00
thorpej
77d85de272
New version of ccd. Allows dynamic run-time configuration and
...
unconfiguration and supports disklabels.
1995-08-17 16:31:30 +00:00
cgd
a2e0a97608
check for null subclass pointer. From Todd Mummert
1995-08-16 04:54:50 +00:00
briggs
3560df43af
CHINON CDS-535 version Q117 also needs NOLUNS. Assume all 535s do.
1995-08-14 13:01:42 +00:00
briggs
19f3c3099f
Another SDEV_NOLUNS device from paul@pgoyette.bdt.com (Paul Goyette).
1995-08-13 17:48:57 +00:00
mycroft
8887de9230
opri --> s
1995-08-12 22:58:01 +00:00
mycroft
240560e9fd
ia_irq has not been a power of 2 for a long time...
1995-08-12 22:37:58 +00:00
mycroft
8a9880e714
Fix oversight in previous.
1995-08-12 21:36:46 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
jonathan
88b9b7eb4a
Update DECstation drivers to use new-style config, removing
...
old-style config support, except for SCSI disks and tapes.
1995-08-10 04:21:35 +00:00
mycroft
e4413d1a10
Fix another comment.
1995-08-07 14:26:51 +00:00
mycroft
f657f5bf3e
Make this interface simplex. It's more efficient, and sidesteps the
...
problem of receiving our own multicasts in promiscuous mode. Also, fix
some outdated comments.
1995-08-07 14:16:26 +00:00
mycroft
92637a6d42
Add another Seagate disk to the list, and make all the disks match any
...
firmware revision.
1995-08-06 00:04:00 +00:00
mycroft
6567855472
Count collisions and errors better.
1995-08-05 23:53:18 +00:00
mycroft
82b6eec41c
Use an intermediate variable to shorten label initialization code.
...
Make wddump() work on more machines.
1995-08-05 23:50:23 +00:00
mycroft
24a5e56396
Use an intermediate variable to shorten label initialization code.
1995-08-05 23:47:52 +00:00
jonathan
1bacfdc2dd
Add preliminary support for new-style configuration: struct cfdriver,
...
and match and attach code. Still use the static softc so that drivers
work with kernels configured with either new or old config.
1995-08-04 00:26:35 +00:00
mycroft
60d2d483ca
Turn off the mbi diagnostics completely.
1995-07-29 23:04:54 +00:00
mycroft
a4fcbe857d
Don't loop if we're out of CCBs/SCBs/MSCPs.
1995-07-28 22:49:56 +00:00
mycroft
38036ed16e
Fix an oversight in the previous.
1995-07-27 05:01:08 +00:00
mycroft
e04a2a7a7f
Add needs-flags for pci_subr.c.
1995-07-27 04:43:19 +00:00
mycroft
c9f7b2a185
Add PCI-specific configuration for PCnet-PCI.
1995-07-27 04:39:05 +00:00
mycroft
7ba8b413d9
Disable diagnostics related to expected mbi race condition.
1995-07-27 01:00:11 +00:00
mycroft
fc427776a7
Add stuff for I/O mapping.
1995-07-27 00:29:02 +00:00
mycroft
e8c91e1129
Fix typos.
1995-07-25 05:11:11 +00:00
mycroft
e413887539
Update to use dev/ic/am7990.c.
1995-07-24 18:04:21 +00:00
cgd
d8e7ea659c
restore a deleted semicolon
1995-07-24 09:03:00 +00:00
cgd
830a91b2e9
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:16:44 +00:00
cgd
4d0bd10d53
kill structure offest comments in non-fixed-size structures.
...
In some of our worlds, pointers just Aren't 4 bytes.
1995-07-24 07:08:14 +00:00
cgd
3301cf82fd
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 06:55:37 +00:00
cgd
a696e525b7
fix function prototypes, usages, to match what the code actually does
1995-07-24 05:54:52 +00:00
cgd
979cf41d87
merge changes from update
1995-07-24 05:26:53 +00:00
mycroft
607e071f1b
Fix pasto.
1995-07-24 04:34:51 +00:00
mycroft
8170afdb2d
Copy changes from ISA version.
1995-07-24 04:15:35 +00:00
mycroft
bdb9d41d7e
Fix thinko in packet size diagnostic.
1995-07-24 04:12:45 +00:00
cgd
267dd7012f
merge updated version from Matt Thomas, which includes dc21041 support.
...
There are a couple of questionable changes in here, that i'm going to
hammer out of him in the next week or so...
1995-07-24 03:54:14 +00:00
mycroft
2d37aba592
Add missing `break;'.
1995-07-24 02:46:47 +00:00
mycroft
ff82158c19
Fix typo.
1995-07-24 02:43:11 +00:00
mycroft
4f36e42ff4
Various cleanup:
...
* Use standard function naming conventions.
* Only increment if_ipackets when a packet was actually received.
* Check for excessively large or small packets before trying to read them.
1995-07-24 02:40:38 +00:00
mycroft
413a5efc0c
Pass a softc to leget(), not an ifnet.
1995-07-24 02:29:59 +00:00
mycroft
33292f0f88
Fix typos.
1995-07-24 02:08:13 +00:00
mycroft
7998e5ab4c
Various cleanup:
...
* Use standard function naming conventions.
* Only increment if_ipackets when a packet was actually received.
* Check for excessively large or small packets before trying to read them.
1995-07-24 02:02:45 +00:00
mycroft
b5699db68d
Rename new xmit_busy back to txb_inuse.
1995-07-23 23:42:47 +00:00
mycroft
799910cb2c
Remove txb_inuse. Other stylistic changes.
1995-07-23 22:12:16 +00:00
mycroft
1df91e03ca
Remove a noop clearing of IFF_OACTIVE.
1995-07-23 22:09:11 +00:00
mycroft
1199b1b042
Exchange xmit_free for xmit_busy. Add BPF hook to iestart().
1995-07-23 22:02:20 +00:00
mycroft
317db86dd3
Stylistic changes.
1995-07-23 21:37:51 +00:00
mycroft
9b2ae2a3cd
Stylistic changes.
1995-07-23 21:26:48 +00:00
mycroft
4da9a5f814
Stylistic changes.
1995-07-23 21:14:31 +00:00
mycroft
644935b313
Slight rearrangement. Also, force eg_incount to 0 after a reset.
1995-07-23 20:54:23 +00:00
mycroft
ecf259e342
Call epmbufempty() any time the board is stopped.
1995-07-23 20:46:49 +00:00
mycroft
57528ce346
Init functions are always called at splimp().
1995-07-23 20:36:51 +00:00
mycroft
6bc1cc31f8
Push the copying of the output buffer further down, with the intent of
...
eliminating it and outputting the mbufs directly. Make sure the queue drains
even if packets are not failing to transmit.
1995-07-23 20:27:48 +00:00
mycroft
a8ce47fa44
Remove extra spls in el_init().
1995-07-23 20:11:55 +00:00
mycroft
90da0e3a99
Kill return values in egstart().
1995-07-23 19:45:42 +00:00
mycroft
3d1d0d928b
Update prototypes.
1995-07-23 17:57:39 +00:00
mycroft
a16702ce45
Various:
...
* Fix ugly looping constructs.
* Add a missing splx().
* Eliminate sc_pktbuf.
1995-07-23 17:50:56 +00:00
mycroft
8593f3a607
Recode elread() and elget() like other drivers.
1995-07-23 17:05:26 +00:00
mycroft
a1a31f853c
Fix pasto.
1995-07-23 16:43:40 +00:00
mycroft
9c26c4da18
Always use m_pkthdr.len on output. Panic if M_PKTHDR is not set.
1995-07-23 16:42:49 +00:00
mycroft
465cfd15f0
Always use m_pkthdr.len on output. Panic if M_PKTHDR is not set.
1995-07-23 16:32:33 +00:00
brezak
693043d786
GUS audio driver from John Kohl.
1995-07-19 19:58:09 +00:00
brezak
f8b400c446
Change DEBUG-->AUDIO_DEBUG. PR# port-sparc/1241
1995-07-19 19:50:16 +00:00
cgd
0b469d4a12
add/change a few quirks:
...
(1) all Chinon CDS-431 CD-ROMs (regardless of revision)
are forced to only having LUN 0, at the suggestion
of Michael Hitch.
(2) _force_ searching of extra LUNs for the Emulex MD21/S2
ESDI bridge. It's pre-SCSI 1, but knows about LUNs.
"amazing." From Jason Thorpe.
(3) recognize an Emulex tape adapter in front of a QIC-36
tape, and have it forced to only LUN 0. This is
an odd one; vendor, name, and rev strings are all
spaces. Anything that mathes this is very likely
broken, anyway, so might as well give it a shot.
Again from Jason Thorpe.
1995-07-12 09:56:09 +00:00
cgd
d8fe81c04c
implement SDEV_FORCELUNS flag, as suggested by Jason Thorpe.
1995-07-12 09:43:29 +00:00
cgd
f60db5f02a
add a SDEV_FORCELUNS flag, as suggested by Jason Thorpe, to force
...
the SCSI code to look for LUNs on prehistoric (pre-SCSI 1) drives &
controllers, where normally it would not.
1995-07-12 09:42:00 +00:00
cgd
880567e771
fix from Onno van der Linden for large-file read timeouts on double-speed
...
drives. A different read command must be used on double-speed drives.
It boggles my mind that people could design hardware this stupid.
1995-07-10 01:27:24 +00:00
cgd
5b671ea6a8
Morningstar SnapLink -> SDEV_NOLUNS, per Peter Galbavy in pr 1192.
1995-07-09 09:44:57 +00:00
cgd
21b6db23b7
play the alphabetization game
1995-07-09 09:43:07 +00:00
cgd
5a5eb678c9
QUANTUM P105S 910-10-94x A.3 -> SDEV_NOLUNS
1995-07-09 09:30:42 +00:00
pk
c5ad4c85f0
ncr5380 chip definitions and MI part of driver.
1995-07-08 21:30:41 +00:00
cgd
e574814605
insert missing call to splx() when {aha,bt}_send_mbo() returns null.
...
from enami@sys.ptg.sony.co.jp .
1995-07-08 00:34:16 +00:00
brezak
4b4b3ee81a
Cleanup
1995-07-07 02:19:48 +00:00
brezak
dd3d2e28ed
Setup irq correctly (PR#1179)
1995-07-07 02:15:12 +00:00
brezak
0bdd4aa7c2
add support for cs4231
1995-07-07 02:11:45 +00:00
brezak
106dafc42e
Common splaudio and ISA_IPL_AUDIO
1995-07-07 01:58:04 +00:00
brezak
0589b5a222
Make mode a flag set. Full-dpulex fixes from John Kohl.
1995-07-07 01:52:30 +00:00
mycroft
9624704e02
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-05 02:32:53 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft
eb99dcc09a
Fix a condition where ttywait() wouldn't be woken up. Also, short-circuit
...
the case of no pending input in compoll().
1995-07-04 06:47:18 +00:00
mycroft
f4b5f723e0
Remove references to if_addrlist.
1995-07-02 00:16:00 +00:00