From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 04:42:57 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 924721065670 for ; Tue, 29 Mar 2011 04:42:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 234FB8FC0C for ; Tue, 29 Mar 2011 04:42:56 +0000 (UTC) Received: by wwc33 with SMTP id 33so4480429wwc.31 for ; Mon, 28 Mar 2011 21:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=q54NbtFnhnyBPQ6hwxyiKX87vscL/1zBVy3HfG3hSqM=; b=gYx16aHfS6ND8MIXREYf2BdB4Nr0JHVd+d4nw75Vrad1MNhzoLV2/DtFIp5cBco7V5 SW9rBMD0jMP0ixqkQMlsnzoMjguv5GfNzZIH95yI/jHkY6iUXyav0qJfnZRkgVb0uYHN zXb0/RHhyn6a2gjXcffcHhwmaudxdz0B0KBjo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=TWb+/tZliJFQrAIzMbEJHxzoKVIShK8ld0dnaSLb68a8YWfXmUuAg9X4bHshSL+tCS 7OXOnuS76Vd2msDsMkN/LJmJ4maF78nPUW+CY6u7WgE4F2HtMEFns39dNHh8Lirgpp7F QExq4ICyGdnh/rSEA4Zm5wWbbMYvYyHWOWc3c= MIME-Version: 1.0 Received: by 10.227.104.2 with SMTP id m2mr4602489wbo.35.1301373776069; Mon, 28 Mar 2011 21:42:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.135.137 with HTTP; Mon, 28 Mar 2011 21:42:56 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Mar 2011 12:42:56 +0800 X-Google-Sender-Auth: ycfEKltW5s4MNd06N8IwIJZ3VQ0 Message-ID: From: Adrian Chadd To: Nerius Landys Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: What's so special about 0xffff EEPROM checksum X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 04:42:57 -0000 Where else have you found this check? Adrian On 29 March 2011 08:41, Nerius Landys wrote: > I'm looking at driver code in the FreeBSD kernel, and pretty much > everywhere I look I see a check for EEPROM checksum. It's always > 0xffff. What is so special about this value 0xffff? Is this value > agreed upon by hardware manufacturers? So basically they have one end > slot for data where they put in the last bytes in order to ensure that > the checksum is always 0xffff? > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >