thorpej
e1b380e139
Fix a bus mem space leak; always unmap the card, regardless of the success
...
of cy_find().
1996-09-26 19:24:04 +00:00
thorpej
a962c12194
Use "cy_port_num" rather than "cy_port" where appropriate.
1996-09-26 19:16:02 +00:00
jonathan
8eca2b2bb4
* Rewrite asc driver with ``mi'' backend and parent-specific front-end
...
cfattach code for TC SCSI option cards and ioasic 53c94 baseboard SCSI.
ascvar.h: shared softc declarations
asc_ioasic.c: ioasic front-end code.
asc_tc.c: Turbochannel option (and 5000/200 basebard) front-end code.
* ioasic_attach meeds more work to eliminate pmax_type dependency
and to verify the clocks speed passed to 53c94.
* Add prototypes for asc script entry points; should compile with
-Wstrict-prototypes -Wmissing-prototypes.
* Use tcvar.h interface. The usage of tc_syncbus() and tc_mb() may
not be quite stylistically on an Alhpa, but it apparently makes no
difference on the eerly-generation Alpha CPUs in TC Alphas.
1996-09-25 21:07:46 +00:00
thorpej
63b18ee2f2
This file is now obsolete.
1996-09-25 20:44:09 +00:00
christos
f44e9d22db
Avoid problems with ptrdiff_t and size_t being different on different
...
architectures, by adding explicit casts to printf arguments. Is there
a better way to do this?
1996-09-25 02:22:10 +00:00
christos
ded50ae798
New Cyclades driver from Timo Rossi
1996-09-24 18:02:33 +00:00
christos
e76a4ef86b
New cyclades driver from Timo Rossi.
1996-09-24 17:59:33 +00:00
christos
7c744984f3
New cyclades driver from Timo Rossi.
1996-09-24 17:47:14 +00:00
christos
5d34f1a62b
New cyclades driver from Timo Rossi
1996-09-24 17:45:14 +00:00
cgd
4463616051
put set of 'channel' field of scsi_link in the right #ifdef
1996-09-20 22:38:37 +00:00
thorpej
c996066313
Correct two prototypes so that this compiles without DDB defined.
1996-09-19 23:02:18 +00:00
thorpej
d3f587e135
For ioctl commands which may change the device's state, ensure that
...
the caller has the device open for writing.
1996-09-18 02:34:31 +00:00
thorpej
fcde57a426
For ioctl commands which may change the device's state, ensure that
...
the caller has the device open for writing.
1996-09-13 00:35:59 +00:00
thorpej
9aeee9fb17
Remove a couple of opcodes that are already (and more appropriately)
...
defined in scsi_changer.h
1996-09-12 01:57:17 +00:00
mrg
c98a14ad90
update these for poll(2) changes.
1996-09-12 01:35:34 +00:00
thorpej
0d89093b48
This file is obsolete; the ahb driver now lives in ahb.c
1996-09-09 18:32:42 +00:00
cgd
6891e01ba2
add missing underscore to __alpha_, to map interrupt names properly.
...
It worked right before because of happy coincidence.
1996-09-09 16:39:44 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
67417a473a
Use bus.h.
1996-09-07 12:12:18 +00:00
mycroft
261a7626ca
Oops. Copy out the right number of command bytes.
1996-09-07 04:59:06 +00:00
thorpej
f6a91a9c52
Regen.
1996-09-06 18:01:37 +00:00
thorpej
ea052e2547
Add the ETI NE3300 Ethernet card to the list of known EISA devices.
...
From Andrew Gillham <gillhaa@ghost.whirlpool.com>.
1996-09-06 18:01:07 +00:00
mycroft
94bfaac456
Wrap the definitions of CONADDR and CONUNIT in #ifndef.
1996-09-06 05:06:01 +00:00
mycroft
82f0b829e8
compoll() -> comsoft()
1996-09-05 16:42:32 +00:00
mycroft
8427290044
wtpoll() -> wtsoft()
1996-09-05 15:37:18 +00:00
mycroft
110ee78a6f
Remove cyselect().
1996-09-05 15:35:09 +00:00
thorpej
f60341a382
Store the SCSI version in the scsi_link, and set the LUN in the CDB
...
if the version is <= SCSI-2. This should help some older SCSI
devices that previously needed the "NOLUNS" quirk. While this is
not strictly necessary on SCSI-2 devices, the spec allows it,
so we set it for SCSI-2 devices "just in case". See section 7.2.2 of
Draft X3T9.2 Rev 10L for details.
1996-09-03 18:20:31 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
e1ea13d92a
Fix typo.
1996-09-01 23:54:53 +00:00
mycroft
664a66d009
Add mmap method for audio devices.
...
XXX This is just a placeholder to avoid updating conf.h again.
Also, clean up some error values.
1996-09-01 21:33:43 +00:00
mycroft
80110252d0
Minor changes.
1996-09-01 00:54:34 +00:00
mycroft
91665cb6ef
General cleanup, like other drivers.
1996-09-01 00:49:48 +00:00
mycroft
70944d2e2c
Minor changes.
1996-09-01 00:20:20 +00:00
mycroft
e8b5bd5b35
Update.
1996-09-01 00:10:55 +00:00
mycroft
0c0b33c781
General cleanup, like other drivers.
1996-09-01 00:09:30 +00:00
mycroft
44bb2d98e1
Split the UltraStor driver apart.
1996-08-31 20:26:48 +00:00
mycroft
06fdef11fd
Split the BusLogic driver apart, and rename it to `bha (like BSDi).
1996-08-31 20:18:24 +00:00
thorpej
164af20154
Add a missing "int" in a function declaration.
1996-08-30 01:40:35 +00:00
cgd
a84c80e23c
regen for new pcidevs
1996-08-29 21:36:01 +00:00
cgd
d29b00b3c3
add entry for the IBM 82351 PCI-PCI Bridge
1996-08-29 21:34:22 +00:00
thorpej
c4366945e5
Quiet the ahc driver down a bit by only enabling some of less useful
...
messages #if defined(DEBUG) in the NetBSD case.
1996-08-28 23:39:40 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
11ec3588ad
(1) add a 'channel' field to scsi_link.
...
(2) in scsibusmatch, match channel as appropriate.
(3) add a scsiprint() function, to do the "scsibus at..."
and channel (if not SCSI_CHANNEL_ONLY_ONE) printing,
i.e. the common functionality that all SCSI drivers currently
should be doing.
1996-08-28 18:47:51 +00:00
cgd
a4bb0a41da
define PDQ_ASSERT directly in terms of __assert, because cpp doesn't seem
...
to do:
#define foo(x) ...
#define bar foo
like we'd like it to.
1996-08-28 16:01:29 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
cgd
00209d1db1
remove include of <sys/types.h> (it's implied by including
...
<sys/param.h>, and historically has been), and add include of
<sys/systm.h> for prototypes.
1996-08-27 16:24:18 +00:00
cgd
de2285c4d2
#undef assert before defining it, so the new libkern definition doesn't
...
conflict with this one.
1996-08-27 01:00:00 +00:00
cgd
5c7192b20c
Including user-land headers in kernel code is not allowed in NetBSD.
...
Therefore:
(1) define offsetof here, and
(2) implement assertion checking in terms of the libkern
assertion-checking macros.
1996-08-27 00:51:29 +00:00
cgd
d32f475ed4
regen for new tcdevs
1996-08-26 23:41:46 +00:00
cgd
3076d34c84
add entries for DGLTA-FA and OTTO ATM boards, alphabetize and clean up
...
other entries.
1996-08-26 23:39:34 +00:00