From owner-cvs-all Mon Dec 4 20:49:29 2000 From owner-cvs-all@FreeBSD.ORG Mon Dec 4 20:49:26 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C412A37B400; Mon, 4 Dec 2000 20:49:26 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB54nQK72899; Mon, 4 Dec 2000 20:49:26 -0800 (PST) (envelope-from imp) Message-Id: <200012050449.eB54nQK72899@freefall.freebsd.org> From: Warner Losh Date: Mon, 4 Dec 2000 20:49:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pcic i82365.c i82365var.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2000/12/04 20:49:26 PST Modified files: sys/dev/pcic i82365.c i82365var.h Log: Start to make code more generic so it can be used by the pccbb driver in the future: o Remove pcic_softc from pcic_handle and replace it with a void * o Reduce dependence on accessing softc via a pcic_handle Minor cleanups: o Define a macro to count the size of an array and use it. o Minor whitespace alignment o make no slots found a printf not a panic. Revision Changes Path 1.32 +16 -19 src/sys/dev/pcic/i82365.c 1.25 +5 -5 src/sys/dev/pcic/i82365var.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message