Date: Wed, 8 Jan 2003 15:36:16 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/zs z8530reg.h z8530var.h zs.c zs_sbus.c Message-ID: <200301082336.h08NaGHw005265@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2003/01/08 15:36:16 PST Modified files: sys/dev/zs z8530reg.h zs.c Added files: sys/dev/zs z8530var.h zs_sbus.c Log: Split this into bus specific front end(s), so that it can be used by ppc. This abstracts out all the differences I could see between the netbsd sparc64 and macppc zs drivers. In particular the offsets of the csr and data registers are different, so we use a separate bus handle for each and use bus_space_subregion to add the bus specific offsets. Requested by: benno Revision Changes Path 1.2 +0 -10 src/sys/dev/zs/z8530reg.h 1.1 +77 -0 src/sys/dev/zs/z8530var.h (new) 1.4 +40 -269 src/sys/dev/zs/zs.c 1.1 +281 -0 src/sys/dev/zs/zs_sbus.c (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301082336.h08NaGHw005265>