Subject: Re: port-arm/34684 (OMAP patch 5/5: OSK5912 board support)
To: None <christos@NetBSD.org, gnats-admin@netbsd.org,>
From: Bucky Katz <bucky@picovex.com>
List: netbsd-bugs
Date: 01/06/2007 05:30:02
The following reply was made to PR port-arm/34684; it has been noted by GNATS.
From: Bucky Katz <bucky@picovex.com>
To: gnats-bugs@NetBSD.org
Cc: christos@NetBSD.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, Bucky Katz <bucky@picovex.com>
Subject: Re: port-arm/34684 (OMAP patch 5/5: OSK5912 board support)
Date: Fri, 05 Jan 2007 20:21:41 -0800
--=-=-=
christos@zoulas.com (Christos Zoulas) writes:
> The following reply was made to PR port-arm/34684; it has been noted by GNATS.
>
> From: christos@zoulas.com (Christos Zoulas)
> To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,
> netbsd-bugs@netbsd.org, Bucky Katz <bucky@picovex.com>
> Cc:
> Subject: Re: port-arm/34684 (OMAP patch 5/5: OSK5912 board support)
> Date: Fri, 5 Jan 2007 23:13:01 -0500
>
> On Jan 6, 3:55am, bucky@picovex.com (Bucky Katz) wrote:
> -- Subject: Re: port-arm/34684 (OMAP patch 5/5: OSK5912 board support)
>
> | It's not part of that patch and it needs to be applied because it
> | contains the board support for the OSK591 machdep as well as the conf
> | files for that board.
>
> Bucky, can you please cvs update and send me an updated patch? I tried
> to apply patch 5 and it seems to have reversed another patch you send us.
>
> chridtos
>
Here's the patch for the missing OSK files
--=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=patch
Content-Transfer-Encoding: base64
Content-Description: New patch
c3JjL3N5cy9hcmNoL2V2YmFybS9jb25mL09TSzU5MTIKLS0tIC4uL2N2cy9zcmMvc3lzL2FyY2gv
ZXZiYXJtL2NvbmYvT1NLNTkxMgkxOTY5LTEyLTMxIDE2OjAwOjAwLjAwMDAwMDAwMCAtMDgwMAor
Kysgc3JjL3N5cy9hcmNoL2V2YmFybS9jb25mL09TSzU5MTIJMjAwNy0wM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