From owner-cvs-src@FreeBSD.ORG Sat Apr 1 04:51:57 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 14C2616A400; Sat, 1 Apr 2006 04:51:57 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D633543D45; Sat, 1 Apr 2006 04:51:56 +0000 (GMT) (envelope-from marcel@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 k314puOc063856; Sat, 1 Apr 2006 04:51:56 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k314puor063855; Sat, 1 Apr 2006 04:51:56 GMT (envelope-from marcel) Message-Id: <200604010451.k314puor063855@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 1 Apr 2006 04:51:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_macio.c scc_bfe_sbus.c scc_core.c scc_dev_sab82532.c scc_dev_z8530.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 01 Apr 2006 04:51:57 -0000 marcel 2006-04-01 04:51:56 UTC FreeBSD src repository Modified files: sys/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_sbus.c scc_core.c scc_dev_sab82532.c scc_dev_z8530.c Added files: sys/dev/scc scc_bfe_macio.c Log: Add a MacIO bus attachment. The Z8530 as present in the Mac needs a different register shift and is fed by a different clock than we use for UltraSPARC hardware. To deal with this, the regshft and rclk fields in the class structure are removed and bus frontends now pass the right regshft and rclk to the probe function where they're put in the BAS and passed in to subordinate drivers. Revision Changes Path 1.2 +1 -3 src/sys/dev/scc/scc_bfe.h 1.2 +4 -1 src/sys/dev/scc/scc_bfe_ebus.c 1.1 +87 -0 src/sys/dev/scc/scc_bfe_macio.c (new) 1.4 +4 -1 src/sys/dev/scc/scc_bfe_sbus.c 1.2 +5 -5 src/sys/dev/scc/scc_core.c 1.2 +0 -4 src/sys/dev/scc/scc_dev_sab82532.c 1.2 +0 -4 src/sys/dev/scc/scc_dev_z8530.c