From owner-freebsd-scsi@FreeBSD.ORG Thu Jul 31 08:49:05 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9754137B401 for ; Thu, 31 Jul 2003 08:49:05 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14AC743FA3 for ; Thu, 31 Jul 2003 08:49:00 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h6VFmt0U063516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 31 Jul 2003 18:48:55 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h6VFmt0v063511 for scsi@FreeBSD.org; Thu, 31 Jul 2003 18:48:55 +0300 (EEST) (envelope-from ru) Date: Thu, 31 Jul 2003 18:48:55 +0300 From: Ruslan Ermilov To: scsi@FreeBSD.org Message-ID: <20030731154855.GA63027@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: amd(4) module X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 15:49:05 -0000 --ZoaI/ZTpAVc4A5k6 Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The amd(4) module is pretty unusable at the moment. The attached patch fixed it for me. Should I commit it? BTW, the "camcontrol rescan all" only works if amd.ko is loaded =66rom the loader(8); loading it by kldload(8) causes the camcontrol to stuck. Is this a known issue? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p Content-Transfer-Encoding: quoted-printable Index: amd.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/amd/amd.c,v retrieving revision 1.21 diff -u -r1.21 amd.c --- amd.c 1 Jul 2003 15:51:53 -0000 1.21 +++ amd.c 31 Jul 2003 15:45:51 -0000 @@ -2497,3 +2497,4 @@ =20 static devclass_t amd_devclass; DRIVER_MODULE(amd, pci, amd_driver, amd_devclass, 0, 0); +MODULE_DEPEND(amd, cam, 1, 1, 1); --jI8keyz6grp/JLjh-- --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/KTpnUkv4P6juNwoRAsRFAJ42MARW4iPbF5yJ3yZTz3NXf8QCIwCfceW8 esSzUTn8Wr5Qr3dRduOjx/A= =bQom -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--