Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/siop_pci_common.c
RevisionDateAuthorComments
 1.38  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.37  09-Dec-2018  jdolecek use pci_intr_establish_xname() everywhere
 1.36  17-Oct-2016  flxd branches: 1.36.14; 1.36.16;
Add 53C810AP for FreeAXP's emulation of a DEC KZPAA adapter.
 1.35  29-Mar-2014  christos branches: 1.35.6; 1.35.10;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.34  13-Nov-2010  uebayasi branches: 1.34.8; 1.34.18; 1.34.22;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.33  26-Nov-2009  njoly branches: 1.33.4;
Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
 1.32  19-Oct-2009  bouyer Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
 1.31  16-May-2009  tsutsui Misc cleanup:
- some KNF
- u_intNN_t -> uintNN_t
- wrap long lines and fix indent
- remove return statements at the end of void functions
- use __arraycount()

XXX: many inconsistent aprint_error_dev(9) vs printf(9)
 1.30  15-May-2009  tsutsui Split device_t/softc.

No crash on:
esiop0 at pci0 dev 11 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop0 at pci0 dev 9 function 0: Symbios Logic 53c810a (fast scsi)
siop0 at gsc0 hpa 0xf0830000 path 2/0/7 irq 3 ipl 6: NCR53C720 rev 2
 1.29  13-Feb-2009  bouyer Make sure PCI_COMMAND_MASTER_ENABLE is set in PCI_COMMAND_STATUS_REG.
 1.28  11-Jun-2008  kiyohara branches: 1.28.4; 1.28.10;
Support use PCI Clock(SF_CHIP_USEPCIC). We can set the value "use_pciclock"
by prop_dictionary_set_bool().
 1.27  10-Apr-2008  cegger branches: 1.27.2; 1.27.4; 1.27.6; 1.27.8;
use aprint_*_dev and device_xname
 1.26  11-Dec-2005  christos branches: 1.26.70;
merge ktrace-lwp.
 1.25  28-Jun-2005  thorpej Use ANSI function decls and static.
 1.24  27-Feb-2005  perry nuke trailing whitespace
 1.23  04-Feb-2005  perry de-__P
 1.22  10-Mar-2004  bouyer branches: 1.22.8; 1.22.10;
The 1010-66 always generate AIP values on the bus, regardless of the SCNTL4
settings. Disable AIP completely, as this confuse pre-Ultra160 drives.
From FreeBSD.
 1.21  25-Oct-2003  christos return not break.
 1.20  25-Oct-2003  christos Fix uninitialized variable warnings
 1.19  09-Apr-2003  thorpej branches: 1.19.2;
Use PAGE_SIZE rather than NBPG.
 1.18  31-Jan-2003  thorpej Use aprint_*().
 1.17  04-May-2002  bouyer branches: 1.17.4;
It seems that the 1010-33 has a bug: it sometimes generate spurious SCSI gross
errors for narrow transfers after a reselect. FreeBSD sym driver has a comment
about this, but their workaround (disable SCSI gross error reports) doesn't
work for me. Instead dissallow disconnect if the target is not wide
(FreeBSD doens't allow disconnect until the target has been fully probed, which
is why they may not have noticed my problem).
 1.16  26-Apr-2002  thorpej 53c1010 chips are ultra3, not ultra2.
 1.15  23-Apr-2002  bouyer More copyright fixes, pointed out by Thomas. Thanks !
 1.14  23-Apr-2002  bouyer - factor out parts of (e)siop_attach() to siop_common_attach()
- Add support for DT transfers (aka Ultra/160) in esiop

Note that DT transfers are not enabled for 53c1010-33 rev 0 yet; if I trust
FreeBSD it has a bug which prevent them to do DT properly.
From the same source there may be issues with some revs of 53c1010-66.
 1.13  23-Apr-2002  bouyer Enable software LED control based on LED0 feature, not #define.
For now, set the LED0 feature if SIOP_SYMLED is defined in siop_pci_common.c.
From Jason R Thorpe.
 1.12  23-Apr-2002  bouyer Set SF_CHIP_LEDC for chips that support it. Based on patch sent in private
mail by Jason R Thorpe.
 1.11  20-Apr-2002  bouyer Move a few things around, so that ic/siop_common.c and pci/siop_pci_common.c
can be compiled without including siopvar.h.
 1.10  08-Feb-2002  briggs Dup 53c1010-33 entry for 53c1010-66 (PCI_PRODUCT_SYMBIOS_1010_2).
 1.9  13-Nov-2001  lukem add RCSID
 1.8  15-Mar-2001  bouyer branches: 1.8.2;
1010 has clock quadrupler but without PPL, so use SF_CHIP_DBLR.
 1.7  12-Mar-2001  bouyer Preliminary support for SYM53C1010-33 (at 80MB/s only for now), based on
patches sent by Matthias Drochner <M.Drochner@fz-juelich.de> and
Kenneth R Westerback <kwesterback@home.com>
 1.6  10-Jan-2001  thorpej branches: 1.6.2;
Add the 53c1510d and 53c895a. 1510d confirmed working by
Mark Davies <mark@MCS.VUW.AC.NZ>.
 1.5  28-Dec-2000  sommerfeld Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
 1.4  29-Nov-2000  matt Fix c896 support. If the first mem bar is 64bit, then the second one will
be too. And offset for the 2nd being after the 1st by a 64-bit bar, not
32-bit.
 1.3  23-Oct-2000  bouyer branches: 1.3.2;
Add ram size to struct properties, and pass it to the bus independant part.
 1.2  25-May-2000  bouyer branches: 1.2.4;
Separate the sheduler from the main script, allocate another DMA-safe
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is invalid.
 1.1  15-May-2000  bouyer - split siop_pci in attachements vs helper functions, for comming esiop
- add a reset callback to enable PCI-specific features. This improve bandwith
by a factor of 2 on my alpha with a 875 !
- sync copyrigth notice
 1.2.4.3  29-Jan-2002  he Pull up revisions 1.6-1.8 (requested by bouyer):
Add support for the 53c1010-33, and bring documentation up to
date.
 1.2.4.2  20-Mar-2001  he Pull up revision 1.4 (requested by matt):
Fix c896 support related to PCI configuration and handling of
64-bit BARs.
 1.2.4.1  15-Dec-2000  he Pull up revision 1.3 (requested by bouyer):
Speed improvements to the siop driver, and add tagged queueing
support. As a side effect, better handling of some not so common
phase or message sequences.
 1.3.2.7  27-Mar-2001  bouyer Sync with HEAD.
 1.3.2.6  12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.5  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.3.2.4  05-Jan-2001  bouyer Sync with HEAD
 1.3.2.3  08-Dec-2000  bouyer Sync with HEAD.
 1.3.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3.2.1  23-Oct-2000  bouyer file siop_pci_common.c was added on branch thorpej_scsipi on 2000-11-20 11:42:37 +0000
 1.6.2.4  20-Jun-2002  nathanw Catch up to -current.
 1.6.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.6.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.6.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.8.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.2  16-Mar-2002  jdolecek Catch up with -current.
 1.8.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.17.4.1  17-Mar-2005  tron Pull up revision 1.22 (requested by bouyer in ticket #1748):
The 1010-66 always generate AIP values on the bus, regardless of the SCNTL4
settings. Disable AIP completely, as this confuse pre-Ultra160 drives.
From FreeBSD.
 1.19.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.19.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.19.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.19.2.1  03-Aug-2004  skrll Sync with HEAD
 1.22.10.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.22.10.1  12-Feb-2005  yamt sync with head.
 1.22.8.1  29-Apr-2005  kent sync with -current
 1.26.70.2  29-Jun-2008  mjf Sync with HEAD.
 1.26.70.1  02-Jun-2008  mjf Sync with HEAD.
 1.27.8.1  18-Jun-2008  simonb Sync with head.
 1.27.6.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.27.4.3  11-Mar-2010  yamt sync with head
 1.27.4.2  16-May-2009  yamt sync with head
 1.27.4.1  04-May-2009  yamt sync with head.
 1.27.2.1  17-Jun-2008  yamt sync with head.
 1.28.10.2  23-Jul-2009  jym Sync with HEAD.
 1.28.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.28.4.1  03-Mar-2009  skrll Sync with HEAD.
 1.33.4.1  05-Mar-2011  rmind sync with head
 1.34.22.1  18-May-2014  rmind sync with head
 1.34.18.2  03-Dec-2017  jdolecek update from HEAD
 1.34.18.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.34.8.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.35.10.1  04-Nov-2016  pgoyette Sync with HEAD
 1.35.6.1  05-Dec-2016  skrll Sync with HEAD
 1.36.16.1  10-Jun-2019  christos Sync with HEAD
 1.36.14.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed