From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 7 19:55:18 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27B3216A4DE for ; Mon, 7 Aug 2006 19:55:18 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 1843F43D46 for ; Mon, 7 Aug 2006 19:55:16 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 40711 invoked by uid 1026); 7 Aug 2006 19:57:11 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.205598 secs); 07 Aug 2006 19:57:11 -0000 Received: from unknown (HELO ndenev.office.suresupport.com) (213.145.98.14) by office.suresupport.com with SMTP; 7 Aug 2006 19:57:11 -0000 From: Niki Denev To: John-Mark Gurney Date: Mon, 7 Aug 2006 22:51:59 +0300 User-Agent: KMail/1.9.3 References: <44D3C333.3030702@cytexbg.com> <200608072203.56320.nike_d@cytexbg.com> <20060807194337.GD99774@funkthat.com> In-Reply-To: <20060807194337.GD99774@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608072251.59882.nike_d@cytexbg.com> Cc: freebsd-hackers@freebsd.org Subject: Re: linux ioremap equivalent on freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 19:55:18 -0000 On Monday 07 August 2006 22:43, John-Mark Gurney wrote: > The only thing special that I believe you have to do is provide an > additional DRIVER_MODULE line to attach to cardbus in addition to (or > instead of) pci... For example: > DRIVER_MODULE(re, pci, re_driver, re_devclass, 0, 0); > DRIVER_MODULE(re, cardbus, re_driver, re_devclass, 0, 0); > > Warner is the expert on cardbus, so, if you have any questions, you > could drop him an email.... > > Good luck! I have both DRIVER_MODULE lines, and i can access the card. And I experience lot of kernel panics, as i'm slowly learning about the kernel internals :) Thanks! --niki