Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 22:10:01 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        "Stefan Herrmann" <sh@seicom.net>
Cc:        "isdn4bsd Mailingliste" <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: Teles.S0/PCI 
Message-ID:  <199806302010.WAA06902@peedub.muc.de>
In-Reply-To: Your message of "Tue, 30 Jun 1998 12:16:12 %2B0200." <000401bda410$1ba78f80$030aa8c0@obelix.webaffairs.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Stefan Herrmann" writes:
>Hi,
>
>i've bought a Teles.S0/PCI Revision 1.2 with following chip set:
>
>SIemens Chips numbered PSB 21525 N (HSCX TE V2.1) and PSB
>2186N V1.1 (ISAC-S TE).
>
>I already have a Teles.S0 16.3 ISA card and will replace this card
>with the PCI version. I don't think I have to change much in my
>KERNEL:
>
[snip]
>But what about the "device" entry ? Since it wouldn't be an ISA card
>any more, how has this line to look ?
>

I don't think it will quite that easy. I suspect that you'll need something
similar to /sys/pci/if_ed_p.c (the PCI interface for the ed driver) to
get this to work.

I recommend looking at how the ed driver handles this (/sys/i386/isa/if_ed.c).
Then do something similar :-)

Note that I have an ISA ed card, but the if_ed_p.c gets included anyway.
/sys/conf/files is set up so that if_ed_p.c depends on just having a
``device ed0'' in the kernel config file.

AFAIK for a PCI device you only need something like "controller telpci0".
Everything is automagically handled by the PCI code (once you figure out
what's required).

A first step wouold be to install the new card and then ``boot -v'' and
note the values which are emitted for the card. This will tell you things
like the manufacturer number, etc. You'll need this to recognize the card
in the probe/attach. Again, look at how if_ed_p.c does it.

---
Gary Jennejohn
Home - garyj@muc.de
Work - garyj@fkr.dec.com



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



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