Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262509AbVEMT37 (ORCPT ); Fri, 13 May 2005 15:29:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262497AbVEMTWg (ORCPT ); Fri, 13 May 2005 15:22:36 -0400 Received: from mail.timesys.com ([65.117.135.102]:23133 "EHLO exchange.timesys.com") by vger.kernel.org with ESMTP id S262490AbVEMTSC (ORCPT ); Fri, 13 May 2005 15:18:02 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 X-Mailer: Evolution 2.0.4-3mdk Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1s30lE676ScUP47dQ9WY" Content-Class: urn:content-classes:message Date: Fri, 13 May 2005 15:17:58 -0400 Subject: [PATCH 2.6.11.7] ATA Over Ethernet Root, Mark 2 Message-ID: <1116011879.9050.92.camel@jmcmullan.timesys> Date: Fri, 13 May 2005 15:12:07 -0400 MIME-Version: 1.0 Message-ID: <1116011879.9050.92.camel@jmcmullan.timesys> X-Mailer: Evolution 2.0.4-3mdk X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [PATCH 2.6.11.7] ATA Over Ethernet Root, Mark 2 thread-index: AcVX76fJsgR1nzfyQ6KbAbCWpQ2xCA== From: "McMullan, Jason" To: "Linux Kernel" , "PPC_LINUX" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7460 Lines: 127 --=-1s30lE676ScUP47dQ9WY Content-Type: multipart/mixed; boundary="=-ER3Ts8eIi2roJJOQ+zOR" --=-ER3Ts8eIi2roJJOQ+zOR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Second revision of my ATA Over Ethernet root device patch, now with white space correction and removed debugging crud. Any more comment, suggestions? --=20 Jason McMullan TimeSys Corporation --=-ER3Ts8eIi2roJJOQ+zOR Content-Disposition: attachment; filename=aoe-root.patch Content-Transfer-Encoding: base64 Content-Type: text/x-patch;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AtNzAsNiArMTE0LDggQEANCiB7DQog CWludCByZXQ7DQogDQorCWRldmZzX21rX2RpcigiZXRoZXJkIik7DQorCSAgICAgICAgDQogCXJl dCA9IGFvZWRldl9pbml0KCk7DQogCWlmIChyZXQpDQogCQlyZXR1cm4gcmV0Ow0KQEAgLTkxLDYg KzEzNyw5IEBADQogCXByaW50ayhLRVJOX0lORk8NCiAJICAgICAgICJhb2U6IGFvZV9pbml0OiBB b0UgdjIuNi0lcyBpbml0aWFsaXNlZC5cbiIsDQogCSAgICAgICBWRVJTSU9OKTsNCisjaWZkZWYg Q09ORklHX0FUQV9PVkVSX0VUSF9ST09UDQorCWFvZV9yb290KENPTkZJR19BVEFfT1ZFUl9FVEhf Uk9PVF9TSEVMRixDT05GSUdfQVRBX09WRVJfRVRIX1JPT1RfU0xPVCk7DQorI2VuZGlmDQogCWRp c2NvdmVyX3RpbWVyKFRJTklUKTsNCiAJcmV0dXJuIDA7DQogDQpAQCAtMTAyLDYgKzE1MSw3IEBA DQogCWFvZWNocl9leGl0KCk7DQogIGNocl9mYWlsOg0KIAlhb2VkZXZfZXhpdCgpOw0KKwlkZXZm c19yZW1vdmUoImV0aGVyZCIpOw0KIAkNCiAJcHJpbnRrKEtFUk5fSU5GTyAiYW9lOiBhb2VfaW5p dDogaW5pdGlhbGlzYXRpb24gZmFpbHVyZS5cbiIpOw0KIAlyZXR1cm4gcmV0Ow0K --=-ER3Ts8eIi2roJJOQ+zOR-- --=-1s30lE676ScUP47dQ9WY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBChP1m8/0vJ5szK6kRAslIAKClmuDNMgWFWcPMKfqld0UsyGvzbwCeJHdE UzVzNQit0GZQ0lhpXB8lcmI= =tCAu -----END PGP SIGNATURE----- --=-1s30lE676ScUP47dQ9WY-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/