From owner-freebsd-ppc@FreeBSD.ORG Sat Sep 24 15:14:08 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04E12106566B; Sat, 24 Sep 2011 15:14:08 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F12B8FC0C; Sat, 24 Sep 2011 15:14:07 +0000 (UTC) Received: by yia13 with SMTP id 13so4257322yia.13 for ; Sat, 24 Sep 2011 08:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:cc:x-mailer; bh=7O7Ggt023GGRVzq571fZzesxAn3yYpfd+N4jAWbeBH0=; b=BbHbIy5I5GVw0TLV41LJ5XDbFA4peZllYubghHqu+IbW9dPXS4hKidznr6Hdixo78k NINShiR4M6LBRPjnPH+EhXKG4IeHfvLNfwAv/RlbKn7rcUjHcMPTErwUdwyrn6a7CQDj qGedTxOQqg0a7CCW0X3cLMaD6dupVARA8T72Q= Received: by 10.101.147.3 with SMTP id z3mr4266991ann.168.1316877246902; Sat, 24 Sep 2011 08:14:06 -0700 (PDT) Received: from triad.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id k12sm50816814anc.19.2011.09.24.08.14.05 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Sep 2011 08:14:05 -0700 (PDT) Sender: Justin Hibbits Message-Id: <9CA9DCD5-2B81-443D-BAC9-1B5D9E703B15@alumni.cwru.edu> From: Justin Hibbits To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 24 Sep 2011 11:14:02 -0400 X-Mailer: Apple Mail (2.936) Cc: FreeBSD PowerPC ML Subject: if_wi attachment for mac-io X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 15:14:08 -0000 In my quest to get some form of wireless on my TiBook, I decided to write the necessary mac-io attachment for if_wi (putting the if_bwi off to the side for now). However, it appears that there's an endian issue with it: pci0: driver added pci1: driver added pci2: driver added found-> vendor=0x11c1, dev=0x5811, revid=0x00 domain=2, bus=0, slot=14, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x10 (480 ns), mingnt=0x0c (3000 ns), maxlat=0x18 (6000 ns) intpin=a, irq=40 powerspec 2 supports D0 D1 D2 D3 current D0 pci2:0:14:0: reprobing on driver added wi0: mem 0x30000-0x300ff,0x1a000-0x1a0ff,0-0xff irq 57 on macio0 wi0: record read mismatch, rid=fd0b, got=bfd wi0: using Unknown Lucent chip wi0: record read mismatch, rid=fd20, got=20fd wi0: Hermes Firmware: Station (0.0.0) wi0: Sorry, this card is not supported (type 1, firmware ver 0) device_attach: wi0 attach returned 45 Is there a way to add a shim underneath the driver, or something else so as not to be too intrusive to the if_wi driver? - Justin