Peter Grehan
c00f3b9d77
ata_generic_hw takes a dev as a parameter, not a channel.
2005-11-11 09:36:38 +00:00
Yoshihiro Takahashi
d4fcf3cba5
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386
...
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
2005-05-29 04:42:30 +00:00
Suleiman Souhlal
db81b64fc4
Unbreak the powerpc build by fixing some ATA constants that were renamed.
...
Approved by: grehan (mentor)
2005-04-12 15:59:54 +00:00
Peter Grehan
98cbfce5db
Introduce channel-level setmode newbus method.
...
Thanks to sos for the code re-org that allowed this.
2005-04-01 03:28:55 +00:00
Peter Grehan
05a016a3e1
Catch up with ATA-mkIII
2005-03-31 01:57:51 +00:00
Peter Grehan
c10763d40c
Long overdue sync-up with ATA code
2005-03-15 11:41:05 +00:00
Warner Losh
60727d8b86
/* -> /*- for license, minor formatting changes
2005-01-07 02:29:27 +00:00
Marius Strobl
a4954466bd
- Use the rman_get_* functions instead of reaching into struct resource.
...
- Remove __RMAN_RESORUCE_VISIBLE again. It's no longer required either
because of the above change or because struct rman is no longer hidden.
Reviewed by: grehan
Tested by: cross-compile on i386
2004-08-11 21:09:40 +00:00
Peter Grehan
57dc54db86
Catch up with __RMAN_RESOURCE_VISIBLE change
2004-07-01 07:59:08 +00:00
Peter Grehan
6c62609340
Move soft structs back to C files to avoid exposing rman fields
...
to clients now that it's protected with __RMAN_RESOURCE_VISIBLE
2004-07-01 07:56:56 +00:00
Peter Grehan
40cdee9dab
Catchup to now-required <sys/module.h> for PowerPC
2004-06-25 13:42:48 +00:00
Nate Lawson
5f96beb9e0
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
Peter Grehan
1820f9fe29
- fixed trailing whitespace and indentation
...
- removed unused variable to fix compile warning
2004-02-11 07:58:43 +00:00
Peter Grehan
174e81ed65
- add a description of what .gdbinit should contain.
...
- add an option for the output device in the hope that this can
be made non-blocking at some stage.
- define an alias for the disk device, required by dev/ofw/ofw_disk.c
- shift iobus to 0x9000000 so as not to clash with the OpenFirmware
entry point of 0x8000400 when address decoding.
- down-tone comments about the disk dev config :-)
2004-02-04 13:23:05 +00:00
Peter Grehan
ec9db41566
Catch up with ATA UMA changes
2004-01-15 23:52:32 +00:00
Peter Grehan
739af9bcb5
Make the OpenPic driver bus-independent, with attachments for
...
the MacIO chip and PSIM's IOBus. Bus-specific drivers should
use the identify method to attach themselves to nexus so
interrupt can be allocated before the h/w is probed. The
'early attach' routine in openpic is used for this stage
of boot. When h/w is probed, the openpic can be attached
properly. It will enable interrupts allocated prior to
this.
2004-01-13 11:24:36 +00:00
Peter Grehan
c576427c52
Catch up with ATA changes by including <sys/sema.h>
2004-01-13 10:54:35 +00:00
Peter Grehan
250fe3a662
ATAng requires <sys/taskqueue.h>
2003-09-22 11:55:02 +00:00
Peter Grehan
1fea81e0da
Remove reference to ata resource in print_child.
2003-04-18 02:47:12 +00:00
Peter Grehan
accf6b7248
Remove sparse address hack.
2003-04-18 02:46:12 +00:00
Peter Grehan
597dc6637a
Catch up with ATAng changes
2003-02-24 03:12:30 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Peter Grehan
8a7f89713e
Removed unnecessary includes and brought up to date with ata
...
common code by adding lock functions.
2003-01-18 11:46:50 +00:00
Peter Grehan
8860e8c607
Support files and a h/w tree description for the PSIM ppc simulator
...
Approved by: benno
2002-09-19 04:57:10 +00:00