Commit Graph

26 Commits

Author SHA1 Message Date
tsutsui b6c031f59c TAB/space cleanup. 2003-11-17 14:37:59 +00:00
tsutsui 7c9baaa885 Add "oddbyte" bus_space(9) access ops for DIO devices which have
odd byte address space.
2003-08-01 00:29:16 +00:00
tsutsui 7a65036308 Modify hp300 bus_space(9) structures/functions to add hooks to override
access functions. This is required by some DIO devices to use MI drivers.
2003-08-01 00:23:17 +00:00
gmcgarry 8e726b5268 Clean-up the DIO bus. Includes two main changes:
1) Pass address and ipl locators at attachment;
2) Remove hack which made the internal HP-IB controller
   look like a DIO device.

The hack to allow the nhpib driver to support internal and DIO
controllers appears to be a leftover from 4.3BD where it was not
possible to have a driver attach to different busses.  NetBSD has
supported bus-dependent attachments for a long time.
2003-05-24 06:21:21 +00:00
thorpej 65d98ed786 Use PAGE_SIZE rather than NBPG. 2003-04-01 20:41:36 +00:00
thorpej 72a2c87923 Use aprint_normal() for cfprint routines. 2003-01-01 01:34:45 +00:00
gmcgarry 85dbe5f6c5 Make the DMA controller a separate device attached to intio. Intio
devices can use the DMA controller too.
2002-12-22 00:17:13 +00:00
thorpej c5e91d447d Use CFATTACH_DECL(). 2002-10-02 04:55:47 +00:00
thorpej 9a711d6985 Declare all cfattach structures const. 2002-09-27 20:29:02 +00:00
thorpej 6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
gmcgarry 97ef6567ad Add RCSIDs. 2002-03-15 05:55:35 +00:00
gmcgarry 9370d5d4ef Update hardware drivers with console attachments to the new console
attachment interface.
2001-12-14 08:34:27 +00:00
gmcgarry aee7bee1a7 bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
2001-12-08 03:34:38 +00:00
thorpej a1e53914d7 If sysflags tells us we have an internal HP-IB interface, don't bother
reading the DIO device ID at select code 7, but rather hard-wire the ID
to the IHPIB ID.  This prevents us reading what might look like a valid
ID to another device when IHPIB is present.  (IHPIB doesn't always return
a correct device ID, grumble.)
1998-07-01 22:46:29 +00:00
thorpej 871cf5e7ce Update for changes to config. 1998-01-12 18:30:41 +00:00
thorpej 1687835b3e Pass down bus space tags to children, and use types appropriate for
bus.h.
1998-01-11 21:53:04 +00:00
jtc 4c9d6e4d9c Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:58:45 +00:00
kleink 6eb0c3077a Remove duplicate inclusion of <sys/device.h>. 1997-10-01 16:28:22 +00:00
jtk 7be59a897b remove old *_UNK style default defines, use standard names from locators.h 1997-07-18 03:38:33 +00:00
thorpej 5bada123f8 - Initialize the DMA controller in dioattach().
- Implement dio_intr_establish() and dio_intr_disestablish().
1997-05-05 21:00:32 +00:00
thorpej 650df29d4d These files depend on things in <machine/hp300spu.h> 1997-04-27 20:58:55 +00:00
thorpej 2c0d2cb557 #ifdef DIOVERBOSE a variable needed only in such code. 1997-04-04 09:53:43 +00:00
scottr ea23ab53c3 Add missing argument to diagnostic printf() 1997-03-31 07:30:41 +00:00
thorpej cb63bb9de5 Garbage-collect all old-style autoconfiguration support; it is no
longer supported.  The hp300 port uses new config now.
1997-01-30 09:18:33 +00:00
thorpej 112e338d6b Fix botch in PA calculation for DIO-II devices. Bug noticed and fix
provided by Klaus Klein <kleink@layla.inka.de>, PR #3097.
1997-01-12 21:27:26 +00:00
thorpej 838edf78fd Snapshot of new config for NetBSD/hp300. This isn't quite finished yet.
We're about 75% there.  SCSI and HP-IB are not yet supported in a new
config kernel; some autoconfiguration hackery has to be done there, yet.
These changes are enough to network boot a diskless kernel.

New config glue is enabled with the "NEWCONFIG" kernel option.  If that
option is not present, an old config kernel will be built.  Any kernel
configured with config(8) will automatically pick up the NEWCONFIG
option from std.hp300.
1996-12-17 08:40:56 +00:00