/* * bus_device.h * floppy * * Created by dg on Tue Feb 05 2002. * Copyright (c) 2001 __MyCompanyName__. All rights reserved. * */ #include #include #include typedef unsigned long intr_t; struct bus_device { struct bus_driver *driver; /* autoconf info */ char *name; /* my name */ int unit; intr_t intr; caddr_t address; /* device address */ int am; /* address modifier */ caddr_t phys_address;/* device phys address */ char adaptor; char alive; char ctlr; char slave; int flags; struct bus_ctlr *mi; /* backpointer to controller */ struct bus_device *next; /* optional chaining */ caddr_t sysdep; /* System dependent */ long sysdep1; /* System dependent */ };