From owner-freebsd-drivers@FreeBSD.ORG Fri Jun 9 08:36:22 2006 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43D1716A41B for ; Fri, 9 Jun 2006 08:36:22 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from elise.stf.rewt.org.uk (elise.stf.rewt.org.uk [82.152.108.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CB9543D73 for ; Fri, 9 Jun 2006 08:36:21 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from [127.0.0.1] ([85.118.159.107]) (authenticated bits=0) by elise.stf.rewt.org.uk (8.13.6/8.13.4) with ESMTP id k598aH7u064840; Fri, 9 Jun 2006 09:36:19 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <44893245.1060008@joeholden.co.uk> Date: Fri, 09 Jun 2006 09:33:09 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Matthew Jacob References: <4487F5CE.4090601@joeholden.co.uk> <7579f7fb0606081044i7598fefn4bb64d55c8acdbc2@mail.gmail.com> <4488A2B6.8040108@joeholden.co.uk> <7579f7fb0606081551v13771ec7y9d262f15c695a004@mail.gmail.com> In-Reply-To: <7579f7fb0606081551v13771ec7y9d262f15c695a004@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: url=http://www.joeholden.co.uk/pgpkey.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCE7A112C2A704E525C32410D" X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL, BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on elise.stf.rewt.org.uk Cc: freebsd-drivers@freebsd.org Subject: Re: LSI Logic FC919X Controller X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 08:36:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCE7A112C2A704E525C32410D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Matthew Jacob wrote: > Oh- 919X, not 919. > > See if this patch works for you: > -----------------------------------------------------------------------= - > > ? DOMAIN_VALIDATION_CODE > Index: mpt_pci.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sys/dev/mpt/mpt_pci.c,v > retrieving revision 1.33 > diff -u -r1.33 mpt_pci.c > --- mpt_pci.c 2 Jun 2006 18:50:39 -0000 1.33 > +++ mpt_pci.c 8 Jun 2006 22:48:27 -0000 > @@ -130,6 +130,10 @@ > #define PCI_PRODUCT_LSI_FC929X 0x0626 > #endif > =20 > +#ifndef PCI_PRODUCT_LSI_FC919X > +#define PCI_PRODUCT_LSI_FC919X 0x0628 > +#endif > + > #ifndef PCI_PRODUCT_LSI_FC7X04X > #define PCI_PRODUCT_LSI_FC7X04X 0x0640 > #endif > @@ -225,6 +229,9 @@ > case PCI_PRODUCT_LSI_FC929: > desc =3D "LSILogic FC929 FC Adapter"; > break; > + case PCI_PRODUCT_LSI_FC919X: > + desc =3D "LSILogic FC919X FC Adapter"; > + break; > case PCI_PRODUCT_LSI_FC929X: > desc =3D "LSILogic FC929X 2Gb/s FC Adapter"; > break; > @@ -373,6 +380,7 @@ > case PCI_PRODUCT_LSI_FC909A: > case PCI_PRODUCT_LSI_FC919: > case PCI_PRODUCT_LSI_FC929: > + case PCI_PRODUCT_LSI_FC919X: > case PCI_PRODUCT_LSI_FC7X04X: > mpt->is_fc =3D 1; > break; > =20 Hi Matthew, this patch appears to have worked, however it also appears to have been detected first, which has broken my fstab, is there any way to order disks/hardware detection? Thanks, Joe --------------enigCE7A112C2A704E525C32410D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEiTJHdQJXshOm0ecRAmBnAJoD4ANxZXCLgydgVPWokrp70oUnhACfSLyT ICZ86qFBeeikdDjwWGim0XU= =fx2c -----END PGP SIGNATURE----- --------------enigCE7A112C2A704E525C32410D--