Date: Sun, 10 Aug 1997 15:07:30 -0700 (PDT) From: Alex <garbanzo@hooked.net> To: freebsd-hackers@freebsd.org Subject: aix7880 diffs Message-ID: <Pine.BSF.3.96.970810150528.1983B-200000@zippy.dyn.ml.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
While not horribly important, I made these's diffs so that the output
printed out by the ahc driver looks a little bit cleaner, as before it was
kinda a mess IMO. I also added a check to print "Ultra " if the channel
is Ultra scsi. So on my aic-7880 I see:
ahc0: aic7880 Ultra Wide Channel, SCSI Id=2, 16/255 SCBs
vs
ahc0: aic7880 Wide Channel, SCSI Id=2, 16/255 SCBs
- alex
[-- Attachment #2 --]
*** /usr/src/sys/i386/scsi/aic7xxx.c Sun Jul 20 09:21:34 1997
--- aic7xxx.c Sun Aug 10 14:56:28 1997
***************
*** 1974,1979 ****
--- 1974,1980 ----
#endif
/* Determine channel configuration and who we are on the scsi bus. */
+ if (ahc->type & AHC_ULTRA) printf("Ultra ");
switch ((sblkctl = ahc_inb(ahc, SBLKCTL) & 0x0a)) {
case 0:
ahc->our_id = (ahc_inb(ahc, SCSICONF) & HSCSIID);
***************
*** 2320,2332 ****
* in "fast" mode.
*/
if (bootverbose)
! printf("%s: Downloading Sequencer Program...",
ahc_name(ahc));
ahc_loadseq(ahc);
! if (bootverbose)
! printf("Done\n");
unpause_sequencer(ahc, /*unpause_always*/TRUE);
--- 2321,2333 ----
* in "fast" mode.
*/
if (bootverbose)
! printf("%s: Downloading Sequencer Program...\n",
ahc_name(ahc));
ahc_loadseq(ahc);
! /* if (bootverbose)
! printf("Done\n"); */
unpause_sequencer(ahc, /*unpause_always*/TRUE);
*** /usr/src/sys/pci/aic7870.c Fri Jun 27 12:39:34 1997
--- aic7870.c Sun Aug 10 14:56:21 1997
***************
*** 869,874 ****
--- 869,875 ----
*sxfrctl1 |= STPWEN;
if (bootverbose) {
+ printf("%s: ",ahc_name(ahc));
printf("low byte termination %s, "
"high byte termination %s\n",
low_on ? "enabled":"disabled",
***************
*** 892,897 ****
--- 893,899 ----
"termination!\n");
if (bootverbose) {
+ printf("%s: ",ahc_name(ahc));
printf("low byte termination %s, "
"high byte termination %s\n",
sc.adapter_control & CFSTERM ?
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970810150528.1983B-200000>
