Date: Mon, 5 Apr 2004 01:16:23 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/isa cy.c src/sys/pci cy_pci.c Message-ID: <200404050816.i358GNbC013804@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <count> and (<count> * 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404050816.i358GNbC013804>