aboutsummaryrefslogtreecommitdiff
path: root/sys/isa/atkbd_isa.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-04-16 21:22:55 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-04-16 21:22:55 +0000
commit6182fdbda82d66e069d86382987606cbba1972b1 (patch)
tree8b86f578632961e1cd2aed57a2be13d993257d35 /sys/isa/atkbd_isa.c
parent24c38be4da1f835f2125da7d5fa3632bc028131d (diff)
downloadsrc-6182fdbda82d66e069d86382987606cbba1972b1.tar.gz
src-6182fdbda82d66e069d86382987606cbba1972b1.zip
Bring the 'new-bus' to the i386. This extensively changes the way the
i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
Notes
Notes: svn path=/head/; revision=45720
Diffstat (limited to 'sys/isa/atkbd_isa.c')
-rw-r--r--sys/isa/atkbd_isa.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/isa/atkbd_isa.c b/sys/isa/atkbd_isa.c
index ade1ba088669..1d7ee623dd3b 100644
--- a/sys/isa/atkbd_isa.c
+++ b/sys/isa/atkbd_isa.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: atkbd_isa.c,v 1.1 1999/01/23 16:53:27 dfr Exp $
+ * $Id: atkbd_isa.c,v 1.2 1999/03/10 10:36:49 yokota Exp $
*/
#include "atkbd.h"
@@ -37,6 +37,7 @@
#include <sys/conf.h>
#include <sys/tty.h>
#include <sys/bus.h>
+#include <machine/bus.h>
#include <sys/rman.h>
#include <machine/resource.h>
@@ -70,9 +71,9 @@ static driver_t atkbd_driver = {
static int
atkbdprobe(device_t dev)
{
- u_long port;
- u_long irq;
- u_long flags;
+ uintptr_t port;
+ uintptr_t irq;
+ uintptr_t flags;
device_set_desc(dev, "AT Keyboard");
@@ -89,9 +90,9 @@ static int
atkbdattach(device_t dev)
{
atkbd_softc_t *sc;
- u_long port;
- u_long irq;
- u_long flags;
+ uintptr_t port;
+ uintptr_t irq;
+ uintptr_t flags;
struct resource *res;
void *ih;
int zero = 0;