History log of /freebsd/sys/dev/isp/isp_pci.c (Results 226 – 250 of 444)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d8d5f2ad 04-Mar-2001 Matt Jacob <mjacob@FreeBSD.org>

more 32 to 16 bit handle conversions


# 5f5aafe1 02-Mar-2001 Matt Jacob <mjacob@FreeBSD.org>

Switch to using 16 bit handles instead of 32 bit handles.
This is a pretty invasive change, but there are three good
reasons to do this:

1. We'll never have > 16 bits of handle.
2. We can (eventuall

Switch to using 16 bit handles instead of 32 bit handles.
This is a pretty invasive change, but there are three good
reasons to do this:

1. We'll never have > 16 bits of handle.
2. We can (eventually) enable the RIO (Reduced Interrupt Operation)
bits which return multiple completing 16 bit handles in mailbox
registers.
3. The !)$*)$*~)@$*~)$* Qlogic target mode for parallel SCSI spec
changed such that at_reserved (which was 32 bits) was split into
two pieces- and one of which was a 16 bit handle id that functions
like the at_rxid for Fibre Channel (a tag for the f/w to correlate
CTIOs with a particular command). Since we had to muck with that
and this changed the whole handler architecture, we might as well...

Propagate new at_handle on through int ct_fwhandle. Follow
implications of changing to 16 bit handles.

These above changes at least get Qlogic 1040 cards working in target
mode again. 1080/12160 cards don't work yet.

In isp.c:
Prepare for doing all loop management in outer layers.

show more ...


# ed34d0ad 01-Mar-2001 Mark Murray <markm@FreeBSD.org>

Turn on interrupt-entropy harvesting for all/any mass storage devices
I could find. I have no doubt missed a couple.

Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_

Turn on interrupt-entropy harvesting for all/any mass storage devices
I could find. I have no doubt missed a couple.

Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.

show more ...


# 6e5c5328 01-Mar-2001 Matt Jacob <mjacob@FreeBSD.org>

Eliminate the use of the getenv_int stuff we'd been using (with a bitmap
for selecting unit). Instead, use the resource hints mechanism.

One unfortunate situation here is that there is no resource_q

Eliminate the use of the getenv_int stuff we'd been using (with a bitmap
for selecting unit). Instead, use the resource hints mechanism.

One unfortunate situation here is that there is no resource_quad_value
function- which is what I needed for WWN boot time replacement. Worse-
you can't store the hint as just plain

hint.isp.0.nodewwn="0x50000000aaaa0001"

because this gets interpreted as an int- incorrectly because it can't
be converted to an int. I can't even get this as a string. To work
around this particular case for nodewwn && portwwn setting, this
rather grotesque form will be used:

hint.isp.0.nodewwn="w50000000aaaa0001"
hint.isp.0.portwwn="w50000000aaaa0002"

At the same time, if we have no hinted WWN, set the default WWN (which, btw,
gets overridden if the card has valid NVRAM, which is usual) to
0x400000007F000009ull (which translates to NAA == IPv4, 127.0.0.9).

Eliminate more printf's and replace them either with device_printf or
isp_prt calls.

show more ...


# b9b599fe 11-Feb-2001 Matt Jacob <mjacob@FreeBSD.org>

Shuffle around how we do isp_disable management- make sure we return 0 so
the unit number doesn't get reused.

Make sure that if we've compiled for ISP_TARGET_MODE we set the
default role to be ISP_R

Shuffle around how we do isp_disable management- make sure we return 0 so
the unit number doesn't get reused.

Make sure that if we've compiled for ISP_TARGET_MODE we set the
default role to be ISP_ROLE_INITIATOR|ISP_ROLE_TARGET.

Do some misc other cleanups.

show more ...


# df1590c0 15-Jan-2001 Matt Jacob <mjacob@FreeBSD.org>

Set default adapter role.


# 3486bfe0 09-Jan-2001 Matt Jacob <mjacob@FreeBSD.org>

add missing length argument


# f09b1922 29-Dec-2000 Matt Jacob <mjacob@FreeBSD.org>

Set up to do a local interrupt fielding before calling common code-
allows us to grab lock as we should.


# 7cc0979f 08-Dec-2000 David Malone <dwmalone@FreeBSD.org>

Convert more malloc+bzero to malloc+M_ZERO.

Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>


# f7dddf8a 05-Dec-2000 Matt Jacob <mjacob@FreeBSD.org>

Remove more printfs and use either isp_prt or device_printf. Remember
to set ISP_LOGINFO if bootverbose is set.


Revision tags: release/4.2.0
# 3395b056 25-Oct-2000 Matt Jacob <mjacob@FreeBSD.org>

Whoops! Forgot to commit this when I committed the other (turnin on locks)
change. Sorry about that.


# db7e3af1 15-Oct-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Remove unneeded #include <machine/clock.h>


Revision tags: release/4.1.1_cvs
# aa57fd6f 21-Sep-2000 Matt Jacob <mjacob@FreeBSD.org>

some copyright cleanups


# e11a1ee8 07-Sep-2000 Matt Jacob <mjacob@FreeBSD.org>

Per msmith's request, don't attach to Qlogic 12160 id'd cards that have
a certain SubVendorID.


# 21c3015a 28-Aug-2000 Doug Rabson <dfr@FreeBSD.org>

* Completely rewrite the alpha busspace to hide the implementation from
the drivers.
* Remove legacy inx/outx support from chipset and replace with macros
which call busspace.
* Rework pci config

* Completely rewrite the alpha busspace to hide the implementation from
the drivers.
* Remove legacy inx/outx support from chipset and replace with macros
which call busspace.
* Rework pci config accesses to route through the pcib device instead of
calling a MD function directly.

With these changes it is possible to cleanly support machines which have
more than one independantly numbered PCI busses. As a bonus, the new
busspace implementation should be measurably faster than the old one.

show more ...


# 84267b9e 28-Aug-2000 Matt Jacob <mjacob@FreeBSD.org>

remove clause 3 licence


# d02373f1 01-Aug-2000 Matt Jacob <mjacob@FreeBSD.org>

Part of major rewrite for core version 2.0- clarification of
mdvec structure, removal of printf/CFGPRINTF in place of isp_prt
calls. Parameterization of RQUEST_QUEUE_LEN/RESULT_QUEUE_LEN.


Revision tags: release/4.1.0
# 05fbcbb0 18-Jul-2000 Matt Jacob <mjacob@FreeBSD.org>

Keep interrupts blocked for all of isp_pci_attach. Redo DMA routines
for target mode for cleanliness and accuracy.


# 469b6b9e 04-Jul-2000 Matt Jacob <mjacob@FreeBSD.org>

Change startup locking. Use new isp_handle_index function
for indexing off of handles to get dma maps.


Revision tags: release/3.5.0_cvs
# 56aef503 18-Jun-2000 Matt Jacob <mjacob@FreeBSD.org>

Clean up firmware load issues and remove darn near all config options.
Force alphas to prefer mem mapping as the default.

Basically, we have a pointer to a function which we can call which will
retu

Clean up firmware load issues and remove darn near all config options.
Force alphas to prefer mem mapping as the default.

Basically, we have a pointer to a function which we can call which will
return us a pointer to firmware for the card we have. We call this function
(if it's non-NULL) with the address of our mdvec f/w pointer.

The way this works is that if ispfw (as a module or a static) is loaded,
it initializes the pointer in isp_pci, so we can call into to it to fetch
a pointer to a f/w set.

If ispfw is MOD_UNLOADed, it's retained a pointer to our mdvec f/w pointers,
which then get zeroed out so we don't have any references to data that's
now gone from kernel memory. Removing the f/w saves ~360KBytes.

Alas, there is no autounload mechanism that works for is here.

show more ...


Revision tags: release/4.0.0_cvs
# 2e56bc77 29-Feb-2000 Matt Jacob <mjacob@FreeBSD.org>

Clean up defines for correct 12160/1080 exclusion. Final 4.0.
approved: JKH


# e142669a 15-Feb-2000 Matt Jacob <mjacob@FreeBSD.org>

If the CDB length is greater than 12 for parallel SCSI, ispscsicmd has
made the initial queue entry a EXTENDED CMD queue entry, so we have to
go straight to continuation segments for any data segment

If the CDB length is greater than 12 for parallel SCSI, ispscsicmd has
made the initial queue entry a EXTENDED CMD queue entry, so we have to
go straight to continuation segments for any data segments.

approved: jkh

show more ...


# 960f6939 11-Feb-2000 Matt Jacob <mjacob@FreeBSD.org>

Add in 12160 (Ultra3) support. Redo things to use the newbus code.

Approved: jkh@freebsd.org

PR: 16141


# 003a310f 15-Jan-2000 Matt Jacob <mjacob@FreeBSD.org>

Remove compile warning not seen when compiling with target mode enabled.


# 65b024e1 15-Jan-2000 Matt Jacob <mjacob@FreeBSD.org>

Redo FC target mode dma routine to try and generate an extra CTIO
in the not so odd case of Moving Data *AND* Sending Status in last CTIO *AND*
status is a CHECK CONDITION *AND* we have Sense Data to

Redo FC target mode dma routine to try and generate an extra CTIO
in the not so odd case of Moving Data *AND* Sending Status in last CTIO *AND*
status is a CHECK CONDITION *AND* we have Sense Data to send.

show more ...


12345678910>>...18