From owner-freebsd-current@FreeBSD.ORG Wed May 24 19:57:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73F5E16A4D8; Wed, 24 May 2006 19:57:06 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A06A43D60; Wed, 24 May 2006 19:57:05 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from [10.0.1.114] (nat-outside.atlanta.corp.yahoo.com [63.172.193.57]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4OJuw3Y095261; Wed, 24 May 2006 15:57:04 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: current@freebsd.org Date: Wed, 24 May 2006 15:56:43 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605241556.44483.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1480/Wed May 24 12:45:51 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: [PATCH] if_dc cleanups.. 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: Wed, 24 May 2006 19:57:09 -0000 I've changed if_dc to use the full 32-bit device ID instead of just the lower 16-bit device ID in dc_attach() so that it doesn't have to deal with hacks like the FAKE device and to make it easier to add new device IDs that have collisions in the future. I've compiled it but have no dc(4) hardware to test with, so please test. Patch is available at: http://www.FreeBSD.org/~jhb/patches/if_dc.patch -- John Baldwin