mjacob
e5835e36c3
request/response queues now indexed via u_int16_t. Add back in f/w inclusion
...
and clean up it's compilation. get chip rev out of pci header.
1999-12-04 02:54:54 +00:00
mjacob
44c603dd7b
Remove reference to loadable f/w.
1999-10-28 16:11:19 +00:00
mjacob
cdad48e3b7
Oops- missed a MAXISPREQUEST sized thing- these are all gone now. It's amazing
...
this didn't eat me.
1999-10-17 02:40:26 +00:00
mjacob
2b4cd26aa4
stylistic cleanups
1999-10-17 01:22:08 +00:00
mjacob
83bb47c85a
F/W version no longer relevant. Only do WWN seed for FC cards.
...
Now we malloc xflist and dma maps in mailbox setup routines.
We also do the appropriate endian swizzling at the end of a dma
map routine.
1999-10-14 02:14:35 +00:00
thorpej
63b8530b4e
Update for SCSPI changes.
1999-09-30 23:04:39 +00:00
mjacob
3bb408eb05
Change to approved NASA/Ames copyright. Add in Qlogic 2200 support.
1999-07-05 20:28:11 +00:00
mjacob
61bf929d14
Do a fairly large internal restructuring to accomodate dual-bus host adapters
...
(e.g., the 1240). Include the new 1080/1240 NVRAM layout reading code. Some
moderately significant mailbox changes were necessary also to accomodate a
second channel.
1999-05-12 18:59:23 +00:00
mjacob
eebeea5b23
Read the board revision and trim cache line size back from 16 to 1
...
for early revision 2100 boards. Make sure to turn ROM off for these
boards.
1999-04-04 01:14:58 +00:00
mjacob
e50460f5fa
Oops- if you enable 1080 support, remember to load the f/w
1999-03-27 01:08:59 +00:00
mjacob
99d46bf762
add isp1080 support and some basic PDB change stuff
1999-03-26 22:39:44 +00:00
mjacob
d596b20f1e
prototype 1080/1240 support
1999-03-17 06:16:42 +00:00
mjacob
c47d6855db
clean up pci configuration a bit
1999-02-09 00:35:35 +00:00
mjacob
1ece20c808
roll internal release tag
1999-01-30 07:08:04 +00:00
mjacob
4401c8bdd7
oops. Forgot to turn on PCI burst.
1999-01-10 03:41:47 +00:00
mjacob
8ac99457db
I mean *really* clean up headers
1998-12-28 19:12:04 +00:00
mjacob
b51e3fbf3c
clean up headers; remove early revision 2100 workarounds
1998-12-28 19:11:32 +00:00
mjacob
6d8a22890e
dma setup now returns CMD_QUEUED or CMD_COMPLETE. Clarify a ternary
...
operation that needed some parentheses.
1998-09-17 23:10:20 +00:00
mjacob
9b29429984
Remove clocks as common code now can determine what clock rates to use.
...
Remove other than 8 byte bursts- until we clarify whether or not buggy
PCI implementatiosn really cause problems.
1998-09-08 07:16:46 +00:00
mjacob
5ad5bb35af
minor change to make the message less linux like
1998-08-12 00:03:23 +00:00
thorpej
dcfe0e1506
Back out part of previous; it is perfectly reasonable, and desirable, to
...
print out debugging info ifdef DEBUG.
1998-07-31 02:14:40 +00:00
mjacob
bec14b0ce3
Part A (Cosmetic nonsense):
...
>We're not Linux. If we still want driver version strings to be displayed
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.
Part B:
Field interrupts in OS layer so that (in this OS) bus_dmamap_sync(POSTREAD)
can (formally) ensure that the result queue is stable wrt to buffering
and that for sending a command a bus_dmamap_sync(PREWRITE) is done to
ensure that the device gets a good view of what the mailbox contents
should be.
1998-07-31 02:08:16 +00:00
thorpej
d8e4026492
Oops, unused variable warning.
1998-07-20 21:17:30 +00:00
thorpej
74fc0579eb
We're not Linux. If we still want driver version strings to be displayed
...
at boot, then I suppose DEBUG is a reasonable compromise.
1998-07-20 21:16:52 +00:00
mjacob
1aa702b8f8
fix bogus initialization
1998-07-18 21:04:22 +00:00
mjacob
99ff11f6b7
locking now out of main framework for isp_reset/isp_init
1998-07-18 21:02:06 +00:00
mjacob
afb0e1b693
no framework
1998-07-15 19:53:57 +00:00
thorpej
ea3a1d9c44
Nuke __BROKEN_INDIRECT_CONFIG.
1998-06-08 06:55:54 +00:00
thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
296d96f42c
Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
...
BUS_DMA_COHERENT.
1998-02-04 00:38:50 +00:00
mjacob
18430b4e5e
For the 2100- the flags weren't quite right- but things worked anyway. Wierd.
1997-09-10 02:16:13 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
mjacob
24add65376
Major rework to support Qlogic ISP2100 (Fibre Channel PCI card). Also now
...
able to read SXP registers (instead of panicing). Probably have done a bit
of setup overkill- we now alloc some scratch memory for the 2100 that I thought
I would need for the Port database, but so far I haven't needed to retrieve
the port database. Well, early days yet.
1997-08-16 00:28:10 +00:00
thorpej
e962c12a08
Fix pasto: sbus -> pci
1997-06-08 22:15:34 +00:00
thorpej
159c685a42
- Update for changes to core ISP driver.
...
- Convert to use bus dma, greatly simplifying DMA setup.
1997-06-08 06:34:52 +00:00
cgd
36949596f0
rename pci_map_register to pci_mapreg_map. The latter name is more
...
descriptive, and allows for a sane name for a function which just digs
the info out of the mapping register but doesn't do the mapping.
1997-04-13 20:14:20 +00:00
cgd
cf2d73f749
use pci_map_register(). map both mem and I/O spaces, preferring mem
...
space if it's usable, but falling back to I/O space if mem isn't usable.
1997-04-13 19:48:16 +00:00
mjacob
0d321a7e29
Add 60 (MHz) value for PCI clock frequency value. Also enable DMA bursting.
1997-04-05 02:55:28 +00:00
cgd
d26286ab6b
clean up (unify) the register mapping code a bit
1997-03-28 22:25:01 +00:00
cgd
874e7169a4
punt pci_mem_find's &cacheable arg, and pass NULL instead. We never
...
want to map the memory register cacheable.
1997-03-28 22:16:06 +00:00
cgd
359850c818
clean up isp_pci_prefer_io comment
1997-03-28 21:51:51 +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
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
cgd
5f0d034532
include <vm/vm.h> for vtophys() on x86. kill extra <sys/kernel.h> incl.
1997-03-13 01:56:06 +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