From owner-freebsd-questions Sat Mar 13 16: 1:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from azure.bayarea.net (azure.bayarea.net [204.71.213.6]) by hub.freebsd.org (Postfix) with ESMTP id 399A014F38 for ; Sat, 13 Mar 1999 16:01:01 -0800 (PST) (envelope-from proett@azure.bayarea.net) Received: (from proett@localhost) by azure.bayarea.net (8.8.8/8.8.8) id QAA23336 for freebsd-questions@FreeBSD.ORG; Sat, 13 Mar 1999 16:03:05 -0800 (PST) (envelope-from proett) Date: Sat, 13 Mar 1999 16:03:05 -0800 (PST) From: Tom Proett Message-Id: <199903140003.QAA23336@azure.bayarea.net> To: freebsd-questions@FreeBSD.ORG Subject: double pccard probe Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a laptop which has two pccard slots and a PCI sound "card" which is not supported by FreeBSD (ESS 1968S Maestro-2). When the PCI probe is done, the it decides irq 5 which is the sound card, is another pccard controller. Is there a way I can cause irq 5 to be ignored until the sound card is supported? Here is the config file I use and the output from dmesg. ======================== Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-STABLE #2: Fri Mar 12 21:58:40 PST 1999 proett@snaproll.arc.nasa.gov:/usr/src/sys/compile/AQUA Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (300.68-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping=12 Features=0x8021bf real memory = 67108864 (65536K bytes) avail memory = 62451712 (60988K bytes) Preloaded elf kernel "kernel" at 0xf02a4000. Probing for devices on PCI bus 0: chip0: rev 0x01 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 ide_pci0: rev 0x01 on pci0.1.1 uhci0: rev 0x01 int d irq 255 on pci0.1.2 create_intr: requested irq255 too high, limit is 15 usb0: could not map irq chip2: rev 0x02 on pci0.1.3 vga0: rev 0xf3 int a irq 9 on pci0.2.0 chip3: rev 0x02 int a irq 255 on pci0.10.0 chip4: rev 0x02 int a irq 255 on pci0.10.1 Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <6 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pca0 on motherboard pca0: PC speaker audio driver wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 6194MB (12685680 sectors), 13424 cyls, 15 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ff on isa wdc1: unit 0 (atapi): , removable, accel, dma, iordis acd0: drive speed 4134KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 16 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface apm0 flags 0x20 on isa apm: found APM BIOS version 1.2 sb_reset_dsp failed sb0 not found at 0x220 sb_reset_dsp failed sbxvi0 not found sbmidi0 not found at 0x330 PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 5 Initializing PC-card drivers: sio PC-Card VLSI 82C146 (5 mem & 2 I/O windows) pcic: controller irq 7 ======================== machine "i386" ident AQUA maxusers 64 config kernel root on wd0s2 cpu "I586_CPU" # aka Pentium(tm) options "MAXDSIZ=(256*1024*1024)" options "DFLDSIZ=(128*1024*1024)" options "NO_F00F_HACK" options "COMPAT_43" options USER_LDT # allow user-level control of i386 ldt options PQ_LARGECACHE # color for 512k/16k cache options "CPU_WT_ALLOC" # AMD optimization? options "NO_MEMORY_HOLE" # AMD optimization? options SYSVSHM options SYSVSEM options SYSVMSG options "MD5" options KTRACE #kernel tracing options PERFMON options UCONSOLE options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options INET #Internet communications protocols options PPP_BSDCOMP #PPP BSD-compress support options PPP_DEFLATE #PPP zlib/deflate/gzip support options PPP_FILTER #enable bpf filtering (needs bpfilter) options "ICMP_BANDLIM" pseudo-device ether #Generic Ethernet pseudo-device sppp #Generic Synchronous PPP pseudo-device loop #Network loopback device pseudo-device ppp 1 #Point-to-point protocol pseudo-device bpfilter 4 #Berkeley packet filter pseudo-device disc #Discard device pseudo-device tun 1 #Tunnel driver(user process ppp) options FFS #Fast filesystem options MFS #Memory filesystem #options NFS #Network File System options "CD9660" #ISO 9660 filesystem options FDESC #File descriptor filesystem options KERNFS #Kernel filesystem options MSDOSFS #MS DOS filesystem options PROCFS #Process filesystem options NSWAPDEV=1 options LKM pseudo-device pty 16 #Pseudo ttys - can go as high as 256 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. pseudo-device splash controller isa0 controller pci0 controller pnp0 controller atkbdc0 at isa0 port IO_KBD tty # keyboard device atkbd0 at isa0 tty irq 1 # The AT keyboard device psm0 at isa0 tty irq 12 # PS/2 mouse device vga0 at isa0 port ? conflicts # The video card driver. device sc0 at isa0 tty device npx0 at isa0 port IO_NPX iosiz 0x0 flags 0x0 irq 13 options "MAXCONS=6" # number of virtual consoles options "NTIMECOUNTER=5" options XSERVER # support for running an X server. options FAT_CURSOR # start with block cursor controller wdc0 at isa0 port "IO_WD1" bio irq 14 flags 0xa0ff disk wd0 at wdc0 drive 0 controller wdc1 at isa0 port "IO_WD2" bio irq 15 flags 0xa0ff disk wd1 at wdc1 drive 0 device acd0 # IDE CD-ROM & CD-R/RW options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM controller fdc0 at isa0 port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 device sio0 at isa0 port "IO_COM1" tty flags 0x10 irq 4 device sio1 at isa0 port "IO_COM2" tty irq 3 device apm0 at isa0 flags 0x0020 # statclock broken controller card0 device pcic0 at card0 device pcic1 at card0 options PSM_HOOKAPM #hook the APM resume event, useful #for some laptops options PSM_RESETAFTERSUSPEND #reset the device at the resume event options PCIC_RESUME_RESET # reset after resume controller snd0 device sb0 at isa0 port 0x220 irq 5 drq 1 device sbxvi0 at isa0 drq 5 device sbmidi0 at isa0 port 0x330 device pca0 at isa0 port "IO_TIMER1" tty controller smbus0 device smb0 at smbus0 controller iicbus0 controller iicbb0 device ic0 at iicbus0 device iic0 at iicbus0 device iicsmb0 at iicbus0 #controller pcf0 at isa0 port 0x320 net irq 5 controller ppc0 at isa0 disable port ? tty irq 7 controller ppbus0 #controller vpo0 at ppbus0 device nlpt0 at ppbus0 device plip0 at ppbus0 device ppi0 at ppbus0 device pps0 at ppbus0 device lpbb0 at ppbus0 # USB support controller uhci0 # UHCI controller controller ohci0 # OHCI controller controller usb0 # General USB code (mandatory for USB) device ums0 # USB mouse device ukbd0 # USB keyboard device ulpt0 # USB printer device uhub0 # USB hub device ucom0 # USB communications driver device umodem0 # USB modem driver device hid0 # Human Interface Device device ugen0 # Generic USB device driver # options USBVERBOSE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message