From owner-cvs-src@FreeBSD.ORG Mon Apr 5 01:16:24 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A98316A4CE; Mon, 5 Apr 2004 01:16:24 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0667743D1D; Mon, 5 Apr 2004 01:16:24 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i358GNGe013805; Mon, 5 Apr 2004 01:16:23 -0700 (PDT) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i358GNbC013804; Mon, 5 Apr 2004 01:16:23 -0700 (PDT) (envelope-from bde) Message-Id: <200404050816.i358GNbC013804@repoman.freebsd.org> From: Bruce Evans Date: Mon, 5 Apr 2004 01:16:23 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa cy.c src/sys/pci cy_pci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 08:16:24 -0000 bde 2004/04/05 01:16:23 PDT FreeBSD src repository Modified files: sys/i386/isa cy.c sys/pci cy_pci.c Log: Converted the isa probe and attach to new-bus so that this driver works without the (defunct) isa compatibility shims. The new-bus-specific parts are very similar to the ones for the pci probe and attach. This was held up too long waiting for a repo copy to src/sys/dev/cy, so I decided to fix the files in their old place. This gives easier to read and merge diffs anyway. The "count" line in src/sys/conf/files won't be changed until after the repo copy, so old kernel configs that specify a count need not be (and must not be) changed until then. The count is just ignored in the driver. One unfinished detail is dynamic allocation of arrays with and ( * 32) entries, and iteration over the arrays. This is now kludged with a fixed count of 10 (up to 10 cards with up to 32 ports each). Prodded by: imp Submitted by: mostly by imp Approved by: imp Revision Changes Path 1.142 +81 -45 src/sys/i386/isa/cy.c 1.32 +2 -2 src/sys/pci/cy_pci.c