thorpej
bc16409b49
Remove some extra printfs, now that Matt has lessened my confusion.
1996-05-20 15:52:32 +00:00
thorpej
917f00ce2e
RCD Id police.
1996-05-20 00:55:44 +00:00
thorpej
b16ba91656
Regen (again; sigh)
1996-05-20 00:53:39 +00:00
thorpej
7d978a7915
Sure sign that Jason needs more coffee; fix ommision in my last correction.
1996-05-20 00:52:53 +00:00
thorpej
f777a672d5
Add the DEFEA FDDI controller.
1996-05-20 00:44:11 +00:00
thorpej
0f38740b1c
Regen.
1996-05-20 00:40:45 +00:00
thorpej
02f972a4be
Ooops, restore the UltraStor 24f entry I accidentally deleted in the last
...
commit.
1996-05-20 00:39:55 +00:00
thorpej
72b01b6a3a
Add Digital Equipment DEFEA cards.
1996-05-20 00:36:36 +00:00
thorpej
4d9ddd9e3b
Use eisadevs data to display model string.
1996-05-20 00:34:03 +00:00
thorpej
e5106dfb88
Update to the Digital Equipment PDQ-based FDDI controllers, from
...
Matt Thomas. Now includes support for EISA (DEFEA) and first-cut of
support for TurboChannel (DEFTA) cards.
1996-05-20 00:20:39 +00:00
mycroft
24f67ca9da
Regen.
1996-05-17 19:28:28 +00:00
mycroft
e6f188bb5a
Add entries for UltraStor 24f.
1996-05-17 19:27:48 +00:00
mycroft
2001bba8c5
Fix bogus argument to bus_io_unmap().
1996-05-16 06:39:34 +00:00
mycroft
f952cd37cd
Slight redux of EISA crap.
1996-05-16 06:30:22 +00:00
mycroft
19b0b9502f
New version, with changes from Justin Gibbs and Noriyuki Soda.
1996-05-16 03:44:13 +00:00
thorpej
527edf030d
Be more careful with types.
1996-05-14 22:21:05 +00:00
mycroft
6e2250caf3
Use intr.h.
1996-05-12 23:38:08 +00:00
thorpej
f004654691
Update Herb's e-mail address; beer.org feels a lot more friendly.
1996-05-10 05:27:53 +00:00
mycroft
5b8d7c943e
ahb -> sc
1996-05-05 03:12:47 +00:00
christos
6670b9fef5
- include <sys/systm.h>
...
- remove unused variables
1996-05-03 19:07:18 +00:00
thorpej
0b637e93a8
Convert the Etherlink III (ep) driver to use <machine/bus.h>.
1996-04-30 22:29:56 +00:00
thorpej
aff40e2a72
Break up the ep driver into isa, eisa, and pci front-ends and a
...
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00
cgd
432b9ff657
add support for the alpha
1996-04-12 06:34:36 +00:00
cgd
4889b6bcc2
use the new interfaces for interrupt attachment, etc.
1996-04-09 22:47:00 +00:00
cgd
d645bb042d
make the EISA code look a bit more like the PCI code, in the way
...
the bus is configured, interrupts are handled, etc. machine-dependent
header (machine/eisa/eisa_machdep.h) defines eisa_chipset_tag_t and
eisa_intr_handle_t types, and the following functions:
eisa_attach_hook()
eisa_maxslots()
eisa_intr_map()
eisa_intr_string()
eisa_intr_establish()
eisa_intr_disestablish()
Don't define the interrupt establish/disestablish functions directly
in terms of the ISA functions any more (on some wacked out systems,
there can be a difference).
1996-04-09 22:46:11 +00:00
cgd
f85f062d77
spaces vs. tabs
1996-04-09 20:07:16 +00:00
cgd
80efcebba5
kill some pasted spaces.
1996-04-06 02:04:00 +00:00
christos
b8e757d588
- remove unused variable
...
- add missing argument to printf statement
1996-03-30 23:08:29 +00:00
cgd
caf3bddd6f
make this a little bit closer to the pcivar.h header; no reason to
...
be gratuitously different in some places. (just cosmetic changes.)
1996-03-22 03:31:33 +00:00
cgd
780657a591
don't export eisa_cd. Drivers shouldn't need it, and, indeed, if they
...
do, they're probably doing thing the Wrong Way.
1996-03-22 02:43:54 +00:00
thorpej
6d9ea4cf59
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 00:43:52 +00:00
cgd
2355d951e4
update for changes eisadevs contents
1996-03-17 00:18:59 +00:00
cgd
6dcbcf9649
clean up descriptions a bit
1996-03-17 00:18:46 +00:00
cgd
afb1eb7adc
update for changes eisadevs contents
1996-03-17 00:15:08 +00:00
cgd
97dc4ccd6c
add entries for the AMI 4801 SCSI controller, and add product numbers/names
...
for the BusLogic 74x[BC] SCSI controllers.
1996-03-17 00:13:56 +00:00
cgd
ba6d1cb2dd
These devices don't actually need softc's that are supersets of 'struct
...
device.' No point in adding that complexity + space if they're not needed,
so axe them.
1996-03-14 04:02:58 +00:00
cgd
fe4037750a
convert to use I/O mapping/access macros in <machine/bus.h>.
...
Mostly mechanical changes, except for probe/attach, which have
to map (and, in the case of probe, unmap) the I/O space that the board
will use.
1996-03-08 22:03:26 +00:00
cgd
5e7aedd067
remember the bus_chipset_tag_t given by our parent, and pass it on to
...
children. use I/O space access routines defined in <machine/bus.h>
when examining I/O space for slot ID information.
1996-03-08 20:39:32 +00:00
cgd
5087096150
pass a bus_chipset_tag_t (defined in <machine/bus.h>) to the bus when
...
attaching, and to the devices when attaching them. #include <machine/bus.h>
to make this backward compatible with old #include requirements.
Also, clean up idempotency so that isa/eisa/pci "var.h" headers are
consistent (make them all idempotent).
1996-03-08 20:25:22 +00:00
cgd
acabb62791
the i386 port no longer attaches isa, eisa, and pci at root.
1996-03-04 03:29:12 +00:00
cgd
7c61fe7779
change printing of unknown device names when not (BUS)VERBOSE slightly
1996-03-02 02:44:25 +00:00
cgd
91f3357fe9
clean up some diagnostic printfs
1996-03-02 02:25:40 +00:00
cgd
f33acccd57
if not EISAVERBOSE, don't say that vendor/product is "unknown," just say
...
what it is.
1996-03-02 01:09:37 +00:00
cgd
b213396977
fix arguments to ahbmatch to properly reflect reality. provide prototyped
...
declarations for ahbmatch and ahbattach.
1996-02-28 20:29:48 +00:00
cgd
311a14c618
add a comment (XXX) about eisa's attachment.
1996-02-27 22:39:28 +00:00
cgd
4e07b4b16f
eisabus attribute moved to conf/files
1996-02-27 22:00:25 +00:00
cgd
a21351b381
use config_found_sm(), rather than config_search+config_attach()+glue, to
...
attach subdevices.
1996-02-27 21:48:52 +00:00
cgd
7f4f1d2406
be consistent when talking about eisa_attach_args
1996-02-27 00:31:30 +00:00
cgd
4bd7608739
Better EISA autoconfiguration, per PR 1959.
1996-02-27 00:20:54 +00:00
cgd
897baa5642
machine-generated files
1996-02-26 23:47:18 +00:00
cgd
9b53b5770d
list of all EISA devices that we know about (for smarter 'unconfigured'
...
printing if 'options EISAVERBOSE'), and files to turn the list into c source.
From my PR (1959).
1996-02-26 23:46:17 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
86939fd839
Fix typo.
1995-10-04 00:35:07 +00:00
mycroft
393a69d6db
Modularize the CCB/MSCP/ACB/ECB handling a little. No functional changes.
1995-10-03 20:58:56 +00:00
thorpej
26419c5a8b
Don't declare Debugger(). It's handled in <sys/systm.h>
1995-09-26 19:31:15 +00:00
mycroft
8887de9230
opri --> s
1995-08-12 22:58:01 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +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
af67271a66
try to actually (gasp!) describe the drivers.
1995-04-17 17:54:15 +00:00
cgd
fac8a6879e
MI EISA config.new file lists
1995-04-17 16:15:48 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
cgd
d8b4389dc3
cast pointer to long when converting to integer type
1995-04-13 04:16:16 +00:00
mycroft
68c1a35cd9
Initialize host_stat and target_stat properly.
1995-01-18 04:20:16 +00:00
mycroft
87d587e640
Simplify some sanity checks.
1995-01-13 14:46:44 +00:00
mycroft
93a0c4a258
Add interrupt sharing types.
1995-01-03 01:42:11 +00:00
mycroft
8fd135209c
Numerous changes. Many bugs fixed, better autoconfig, a few new features.
1994-12-28 19:42:47 +00:00
mycroft
b7acf321cd
No longer needs icu.h.
1994-11-04 18:59:34 +00:00
mycroft
195574a7de
Change all of the uses of IRQ{0-15} and bit masks to use plain numbers
...
rather than bit shifting.
1994-11-04 18:57:15 +00:00
cgd
022ee8f7fe
new RCS ID format.
1994-10-27 04:14:23 +00:00
mycroft
996b2b5c54
Disable EISA reset, for now.
1994-08-22 21:53:23 +00:00
mycroft
b0db502d9c
Remove diagnostic.
1994-08-07 10:49:06 +00:00
mycroft
fb500c4d07
Redo some of the EISA config stuff.
1994-07-28 02:39:21 +00:00
mycroft
4ac4810048
Normalize.
1994-07-27 13:14:14 +00:00
mycroft
16878bf2f9
Enable IRQ probing.
1994-07-27 01:50:57 +00:00
mycroft
a211907a8b
Remove now-bogus cast.
1994-05-05 07:41:44 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
cgd
e0db92993a
change timeout/untimeout/wakeup/sleep/tsleep args to void *
1994-04-29 23:15:51 +00:00
mycroft
689156a240
Change structure member names.
1994-04-20 22:39:33 +00:00
mycroft
55efebae3e
Fix return values from some interrupt routines.
1994-04-08 18:22:15 +00:00
mycroft
3f5e4f423f
Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
...
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft
25317c76f3
Increase ahb_send_mbox timeout.
1994-04-05 08:53:00 +00:00
mycroft
9a9b1d99fa
Minor code cleanup.
1994-04-02 08:04:26 +00:00
mycroft
ea6d9af1c2
Print out board revision info.
1994-03-30 04:07:48 +00:00
mycroft
e1d51562a9
New SCSI system, based on Julian's more recent work.
1994-03-29 04:30:15 +00:00
mycroft
d5a269b4dd
Put controller target in scsi_switch.
1994-03-25 07:38:51 +00:00
mycroft
15d0f84500
Fix bug in last change.
1994-03-12 04:10:03 +00:00
mycroft
d884f7c425
Update to match config(8).
1994-03-12 03:34:02 +00:00
mycroft
367c93feb4
Updates to match config(8).
1994-03-10 20:52:09 +00:00
mycroft
a618881dd7
#include cpu.h in all files which use spl*().
1994-03-08 12:21:10 +00:00
mycroft
92d7ef960c
Use KERNBASE, not 0xfe000000.
1994-01-03 23:53:29 +00:00
davidb
ddefd2e1b8
Fixed bug where with two or more SCSI controllers of the same type, you
...
could not have devices at the same ID on each bus.
This patch not directly applicable to magnum branch, which is using Julian's
new SCSI code.
1993-12-20 23:27:28 +00:00
mycroft
f2a0b4b335
Canonicalize all #includes, and add pio.h where appropriate.
1993-12-20 09:05:17 +00:00
cgd
7b2afa7fe6
incorporate changes from 0-9-base to 0-9-ALPHA
1993-07-28 02:20:34 +00:00
mycroft
331148c31a
Make these files GCC 2 happy.
1993-07-17 16:20:24 +00:00
deraadt
f6779cbdce
minor silliness related to two or more controllers
1993-06-09 22:36:40 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
deraadt
a0bcb17e60
support for making dev->id_alive be set, this is for iostat to
...
find disk devices. wee bit of a kludge. sub-device attach()
routines must now return 1 for successful attach(), 0 otherwise.
Other bsd's do this too..
1993-05-04 08:27:29 +00:00
deraadt
11dce888dd
fixed silly typo.
1993-05-02 20:14:48 +00:00
cgd
c08b444d52
id for scsi_attach must be an int.
1993-04-26 11:54:23 +00:00
deraadt
6bee5294bc
ioconf changes, see previous cvs's that dumped core
1993-04-15 07:57:50 +00:00