From owner-freebsd-bugs Sun Jun 25 6:20:14 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 78C8437BC0A for ; Sun, 25 Jun 2000 06:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA61907; Sun, 25 Jun 2000 06:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 03E2137BA02; Sun, 25 Jun 2000 06:14:34 -0700 (PDT) Message-Id: <20000625131434.03E2137BA02@hub.freebsd.org> Date: Sun, 25 Jun 2000 06:14:34 -0700 (PDT) From: martijn@be3.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19497: Adaptec AHA-1530P PNP scsi card is not recognised by 4.0-stable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19497 >Category: kern >Synopsis: Adaptec AHA-1530P PNP scsi card is not recognised by 4.0-stable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 25 06:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Martijn Plak >Release: 4.0-STABLE >Organization: >Environment: FreeBSD 4.0-STABLE 25 Jun 2000 Adaptect AHA-1530P pnp scsi card >Description: I'm using a PNP ISA scsi controller sold by Compaq. It's an Adaptec card. The card used to work on FreeBSD 2.2.x. After applying the proposed patch I have burnt some CD's using my philips CDD-3600 cd rewriter, so I think it works. additional cards: The manual mentions a AHA-1532P card that has a scsi and a floppy interface on-board. The SCSI part of this card might work with this patch too, if the pnp id is the same. The pnp info suggests the card is compatible with AHA-1520(P?). I've added the pnp id for that card, but haven't tested it. >How-To-Repeat: Plug card into machine, card isn't recognised. This can be seen by checking the dmesg for a line similar to: /kernel: unknown0: at port 0x340-0x35f irq 9 on isa0 >Fix: Apply the following patch. UUencoded package with patch, dmesg, pnpinfo at bottom. *** /sys/dev/aic/aic_isa.c.20000115 Sun Jun 25 10:16:06 2000 --- /sys/dev/aic/aic_isa.c Sun Jun 25 11:08:24 2000 *************** *** 58,63 **** --- 58,69 ---- #define AIC_ISA_NUMPORTS (sizeof(aic_isa_ports) / sizeof(aic_isa_ports[0])) #define AIC_ISA_PORTSIZE 0x20 + static struct isa_pnp_id aic_ids[] = { + { 0x15309004, "Adaptec AHA-1530P"}, + { 0x15209004, "Adaptec AHA-1520P"}, + {0} + }; + static int aic_isa_alloc_resources(device_t dev) { *************** *** 121,127 **** u_int port, *ports; u_int8_t porta; ! if (isa_get_vendorid(dev)) return (ENXIO); port = isa_get_port(dev); --- 127,133 ---- u_int port, *ports; u_int8_t porta; ! if (ISA_PNP_PROBE(device_get_parent(dev), dev, aic_ids) == ENXIO) return (ENXIO); port = isa_get_port(dev); begin 644 aic-pnp-patch.tgz M'XL(`%G,53D``^U8:7/;R!'U5^%7=.0OH@.2@Y.'CPI%4A+BI<@5:6B,V:;Y1?OKAF'L[*]W;-@?#J,_ M(O8-9?CB^#^W_W#-O;=AO*(@R6@6E:MFW)Q%[AWY_";T>-YJM11EZ&8^N7D> MKF+NTW!^28\UY36/?>QQ1C08S0RF673";C7+8#W&S(9*# MIF`S4Y0?DE7H@4=-[HSZ.UD^BD*/F7)44Z3).S"A,B77*\(;OGN1EVF:9$5. M3GM*5VZ\XB0UHQS5PF5\%>8%#A*4L9<38Y^5<3Z<.S1,XB)+HHAGRC#9(+#" M9<0?R*A+?6F67FE+$7'@7/W8IQYI#/F/-+V:7X2K-159R8G[$"KG<1Y*R1># M(+OD&X*C-7R"(1SYPWXY$\TM+-.;F^G_$P+P`G?)-E=I=8^728%O,! MQ15W_:;G>FM)HE;4S6*=)>5J_8!VQ+W$OV>_3-JN$N0!:;>Y#`O:5&M)'-T]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3R&/,[7(@VXA!Y$E7JW0G#V#XQ&$%+-MV$65$B^=2;T(/*+_`?T;&C7[F19B/G#L2*=@]#EQAZC6':R9FR''(.H$P)YV.E*:3H74V2%5^[9J]=9AFHO0&<]F[4OG%&6K@;1#P^ED MAB(CJM@&-Q8E2@O)+9,IJ4HJ*=(`J]^(R,^R,BV:TH%B*86"=DT3'E#?A6W= M9FW;L%EU\[R?'N[);4JK6A^M*N\B6/.$6>5I>A^]3'+`4\"J(M$"-4:6%C=` M5_B?;EJ=R2D]^_'5X'+Q:D*GSOG9=+K0A1)?T$]FKV>V-1MB_5PY'_+3QI5W MYS(7^7WF3$UE(FJGF(EBC=*9;*@,\GX;2:0-+KGF*E[MO1!(Y$=TC.C45E"M M3A'J/Q,$0H,7S@_.;$[#T0@2,_PVK]I7?R.]!8]""[));JJ[+-:G$ZFHIKY- M5A6&!5(V.6TCL'&GR`/QC>"D6KQXKZ)9"81%NXV*>E#`[5-9-%#OL^VG$LK# M]YP"E$SNXY8[7=#5>##ZNXI+HR]J78QSIJ*[B8O_HJO)?O^/V36\H.6U_#`( MOA6/W^C_-;.S^_YG,TWT_Z9AF8?^_WN,)T^>D&R'9>"%WCT7$$69:9IU]*#C MMOO,KIKM9K/YA[0^Z_9QKY-[GNP/,4<3K-H&R:F`%-,>X;\F6MO'/@_0 M!1\-G.$U2M;UY:O);'JUF-.)B+B3!/3SGWY&+_PK"+?CUWL?&]6CXT^^4QY_ M4#^AUC]/K7]"S3Y@]N$I'I"N%@T5`Y/M^61#?+W[JG-29:-KV8^)(__Z695K MNJ9J>J=2.M%1>0U463%4>B)5]G2WW+VNWKAB2?D3'84!^A6P1C*^OI'?1T-? M\)4J/CK*."XC,2K@Y1MGVI";L"RKT7/:[A-3N>>IM#ED437Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message