Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2001 01:46:01 -0700
From:      "Greg Smith" <freebsd_mail@yahoo.com>
To:        "Jeremiah Gowdy" <jeremiah@sherline.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Sony Wireless LAN card  [setting pcic irq "FAQ"]
Message-ID:  <200107020146010140.00408776@smtp.mail.yahoo.com>
References:  <000501c102bb$23fce240$aa240018@cx443070b> <200107020042570810.0006CB88@smtp.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremiah,

If the Sony card implies a Sony laptop, then you definitely could use
an irq on the pcic device.

There are three ways to assign an IRQ to the pcic:

1) the "long" way: rebuild the kernel with

device pcic0 at isa? irq 9


2) the "Peter" way: update /boot/loader.conf with

machdep.pccard.pcic_irq="09"


3) the "Greg" way: update /boot/loader.conf with

userconfig_script_load="YES"

and /boot/kernel.conf with

ir pcic0 9     
q

This method assumes your kernel has device pcic0 and not just device
pcic.  This is true in GENERIC kernels.

[The userconfig solution is generalizable to the various devices (with
unit numbers) in the kernel, with at least the following commands:

  di sio1            (disable)
  en pcic1           (enable)
  po pcm0 0x530      (set port)
  ir pcic0 9         (set IRQ)
  dr pcm0 1          (set DRQ)
  iom pcic0 0xd8000  (set iomem)
  ios ata2 16        (set iosize)
  f pcm0 0x10        (set flags)
  ls                 (list all configurable devices)
  q                  (last line)

This is very handy on those older machines where it takes a long time
to rebuild the kernel.  Try boot -c to get the whole picture.]

All examples above assume irq 9 is the one you want to use.  Substitute
as appropriate.

Greg

-----Original Message-----

>I own a Sony PCWA-C100 Wireless LAN PC Card.  Is there any FreeBSD
support
>for this ?  When I insert the card with FreeBSD running, the computer
>freezes :/
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-mobile" in the body of the message




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107020146010140.00408776>