From owner-cvs-all@FreeBSD.ORG Sun Dec 12 20:05:50 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 786A416A4CE; Sun, 12 Dec 2004 20:05:50 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633AB43D1D; Sun, 12 Dec 2004 20:05:50 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBCK5o6h067731; Sun, 12 Dec 2004 20:05:50 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBCK5oD7067730; Sun, 12 Dec 2004 20:05:50 GMT (envelope-from imp) Message-Id: <200412122005.iBCK5oD7067730@repoman.freebsd.org> From: Warner Losh Date: Sun, 12 Dec 2004 20:05:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/modules Makefile src/sys/conf files.i386 files.pc98 src/sys/modules/mse Makefile src/sys/dev/mse mse.c mse_cbus.c mse_isa.c msevar.h src/sys/i386/isa mse.c src/sys/pc98/pc98 mse.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 20:05:50 -0000 imp 2004-12-12 20:05:50 UTC FreeBSD src repository Modified files: sys/modules Makefile sys/conf files.i386 files.pc98 sys/dev/mse mse.c Added files: sys/modules/mse Makefile sys/dev/mse mse_cbus.c mse_isa.c msevar.h Removed files: sys/i386/isa mse.c sys/pc98/pc98 mse.c Log: Separate mse driver into a core driver and a bus attachments. Separate out the ISA and CBUS (called isa on pc98) attachments. Eliminate all PC98 ifdefs in the process (the driver in pc98/pc98/mse.c was a copy of the one in i386/isa/mse.c with PC98 ifdefs). Create a module for this driver. I've tested this my PC-9821RaS40 with moused. I've not tested this on i386 because I have no InPort cards, or similar such things. NEC standardized on bus mice very early, long before ps/2 mice ports apeared, so all PC-98 machines supported by FreeBSD/pc98 have bus mice, I believe. Reviewed by: nyan-san Revision Changes Path 1.511 +2 -1 src/sys/conf/files.i386 1.308 +2 -1 src/sys/conf/files.pc98 1.69 +37 -426 src/sys/dev/mse/mse.c 1.1 +344 -0 src/sys/dev/mse/mse_cbus.c (new) 1.1 +447 -0 src/sys/dev/mse/mse_isa.c (new) 1.1 +125 -0 src/sys/dev/mse/msevar.h (new) 1.69 +0 -917 src/sys/i386/isa/mse.c (dead) 1.412 +2 -0 src/sys/modules/Makefile 1.1 +14 -0 src/sys/modules/mse/Makefile (new) 1.47 +0 -1075 src/sys/pc98/pc98/mse.c (dead)