From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 3 16:12:04 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B23BB9F9 for ; Wed, 3 Sep 2014 16:12:04 +0000 (UTC) Received: from mon-colo.panasas.com (mon-colo.panasas.com [209.166.131.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6C81F79 for ; Wed, 3 Sep 2014 16:12:04 +0000 (UTC) Received: from seabiscuit.panasas.com ([172.17.132.204]) by mon-colo.panasas.com with Microsoft SMTPSVC(7.0.6001.18000); Wed, 3 Sep 2014 12:12:03 -0400 Received: from SEABISCUIT.int.panasas.com ([172.17.132.204]) by seabiscuit ([172.17.132.204]) with mapi id 14.03.0181.006; Wed, 3 Sep 2014 09:12:02 -0700 From: "Sinha, Prokash" To: "freebsd-hackers@freebsd.org" Subject: PXE boot Thread-Topic: PXE boot Thread-Index: AQHPx5HLJQqu7eyjHEWkqP8Kaivyig== Date: Wed, 3 Sep 2014 16:12:01 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.133.204] Content-Type: text/plain; charset="Windows-1252" Content-ID: <12A6B2A45BCBA94D9A2EFC1157171859@panasas.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Sep 2014 16:12:03.0749 (UTC) FILETIME=[CCD15550:01CFC791] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 16:12:04 -0000 Hi All, I'm trying to understand the invocation of the routines pxe_init(); pxe_ope= n() etc. in pxe.c By the structure, it looks like a driver with devsw_pxedisk =3D { entry poi= nts =85} Once this pxeldr is brought down from the net boot server, how does it get = invoked ( or rather who calls these routines ) ??? The loader ( strapped wi= th it don't seem to call). I assume that the the boot code in the NVRAM ( or wherever ) of the NIC tha= t supports calls these pxe_* () functions ??? Thanks -prokash