From owner-freebsd-hackers Tue Oct 27 09:38:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA07409 for freebsd-hackers-outgoing; Tue, 27 Oct 1998 09:38:36 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA07400 for ; Tue, 27 Oct 1998 09:38:31 -0800 (PST) (envelope-from roger@cs.strath.ac.uk) Received: from muir-10 (roger@muir-10.cs.strath.ac.uk [130.159.148.10]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id RAA15708 Tue, 27 Oct 1998 17:37:47 GMT Message-ID: <363604EB.15FB@cs.strath.ac.uk> Date: Tue, 27 Oct 1998 17:37:47 +0000 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.04Gold (X11; I; OSF1 V4.0 alpha) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: Need help with PCMCIA code changes. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have spoken with Nate about a code change to the PCMCIA code in -current. The current PCMCIA code in -current automatically scans some base addresses and automatically searches for a free IRQ to allocate to the PCMCIA controller chip. (see /sysd/pccard/pcic.c) I want to define my own IRQ in the kernel config. eg to manually specify IRQ 9, with the card at address 0x380 controller card0 device pcic0 at card? port=0x380 irq=9 The code in /sys/pccard/pcic.c would somehow need to query the system for the irq (and/or base address) which has been defined and to skip the 'free irq' probe. But the pcic device is on the 'card0' controller and not the 'isa?' controller. So, how does the pcic device retrieve this information. Thanks Roger -- Roger Hardiman | Telepresence Research Group roger@cs.strath.ac.uk | DMEM, University of Strathclyde tel: 0141 548 2897 | Glasgow, Scotland, G1 1XJ, UK fax: 0141 552 0557 | http://telepresence.dmem.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message