Date: Sun, 25 Jun 2000 06:14:34 -0700 (PDT) From: martijn@be3.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/19497: Adaptec AHA-1530P PNP scsi card is not recognised by 4.0-stable Message-ID: <20000625131434.03E2137BA02@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: <SCSI Controller> 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:<?)UI8* M!`8D8A#`XI`E;_F_Y\T`I$79SI937F]2X50)U`QZ7O?T/7!#KYG&:3-U"V_= M?O2[##)9Q[+H$8G!'OS6$^IHNF685L?0B#3-ULQ'9/T^XNR/,B_<C.A1EB3% MOZ-[M^8\^AX"?=_A[MD?_X5QD+2B9/4->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*<YZ%;D27Y6;),V*W M_I*Y7<.VE%D\H]<\R\,D)JW%5*J1=FNV,I+,:<1S+PO3`JM]&OAN6G"/!A># 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<YK#=0L:G2GG2>(+OD&X*C-7R"(1SYPWXY$\TM+-.;F^G_$<PM\:)J.(QZMB MC8G.]L$&GL?3PA5"?P6D]AG(<>P+P`G?)-E=I=8^728%O<O"@DL.)U?32>,! MQ15W_:;G>FM)HE;4S6*=)>5J_8!VQ+W$OV>_3-JN$N0!:;>Y#`O:5&M)'-T] M>%_/PISRM>LG[P3S+Y*X,?';U(VEQ^(,6\**_R:,PTVYV:JG#Y5X70:GV:=R M;Q]2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D&R'9>"%WCT7$$69:9IU]*#C MMOO,KIKM9K/YA<U[>[0^Z_9QKY-[GNP/,4<3K-H&R:F`%-,>X;\F6MO'/@_0 M!1\-G.$U2M;UY:O);'JUF-.)B+<D.*EY7LOO/PUJT^?6?V(_-QJ?09-0SC_& MU3<K(N7/)"\-'GZRTBM((L3I=>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#ED437<Y&JK?[T\TIJ7 ML^O9U?1TO%6"9.1F2+F2E2ITHFX-V:#GSZF2\3\2^X\.W<,XC,,XC,,XC,,X 3C,,XC,,XC*\:_P*%)E03`"@``&X- ` end >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000625131434.03E2137BA02>