Subject: RE: Mac68k and IDE
To: Allen Briggs <briggs@wasabisystems.com>
From: John Ruschmeyer <jruschme@mac.com>
List: port-mac68k
Date: 09/13/2001 19:45:01
This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C13C8C.940925C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


Hmm... the bus_space changes remind me of something.

I don't have the system handy. Can you check machine/bus.h to see if it is
missing (at least in 1.5) a

	#define __BUS_SPACE_HAS_STREAM_METHODS 1

Which would explain a problem I had compiling ata_wdc.c and wdc.c.

<<<John>>>


-----Original Message-----
From: Allen Briggs [mailto:briggs@wasabisystems.com]
Sent: Thursday, September 13, 2001 5:54 PM
To: John Ruschmeyer
Cc: tech-kern@netbsd.org; port-mac68k@netbsd.org
Subject: Re: Mac68k and IDE


On Thu, Sep 13, 2001 at 05:41:20PM -0400, John Ruschmeyer wrote:
> Back in the 1.4 days (pre-ATA), Ken Nakata did some work on supporting the
> IDE drives found in a few Quadra and PowerBook models. Unfortunately, his
> work never made it into the baseline.

There has been some more recent work done by someone else whose name is
somewhere in my mail archives.

> Recently, I picked up a Q630 (one of the affected models) and started
trying
> to adapt his code for 1.5. Specifically, I've been trying to adapt his
> attachment code to the current MI WD controller support. I've update the
MD
> attachment code and finally sorted out the register layout to the point
> where it will successfull find the controller and the attached drive.

Cool.  You should also look at the bus_space code.  There is (new in 1.5)
a way to specify that a given region should be byte-reversed.  If you
send me some private mail with your code, we can probably take this
off-line.

-allen

--
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support,
Service
NetBSD dev. for _your_ Alpha, ARM, M68K, MIPS, PowerPC, SH3, Sparc, x86,
etc...

------=_NextPart_000_0006_01C13C8C.940925C0
Content-Type: text/x-vcard;
	name="John M Ruschmeyer.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="John M Ruschmeyer.vcf"

BEGIN:VCARD
VERSION:2.1
N:Ruschmeyer;John;M
FN:John M Ruschmeyer
ORG:Eclipse Networks
TITLE:Tech Lead- JCDB APIs
NOTE;ENCODING=3DQUOTED-PRINTABLE:{6}=3D0D=3D0A
TEL;WORK;VOICE:(732) 427-3193
TEL;HOME;VOICE:(732) 920-8030
TEL;CELL;VOICE:(732) 809-7529
TEL;PAGER;VOICE:(732) 944-3098
ADR;WORK:;;10 Christopher Way;Eatontown;NJ;08723;USA
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:10 Christopher =
Way=3D0D=3D0AEatontown, NJ 08723=3D0D=3D0AUSA
ADR;HOME;ENCODING=3DQUOTED-PRINTABLE:;;10 Industrial=3D0D=3D0AWay =
East;Eatontown;NJ;07724
LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:10 Industrial=3D0D=3D0AWay =
East=3D0D=3D0AEatontown, NJ 07724
EMAIL;PREF;INTERNET:jruschmeyer@eclipsenetworks.com
EMAIL;INTERNET:jruschme@home.com
REV:20010620T174914Z
END:VCARD

------=_NextPart_000_0006_01C13C8C.940925C0--