Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 15:11:46 -0800 (PST)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        "Jonathan M. Bresler" <jmb@hub.freebsd.org>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: 2 cards, any suggestions?
Message-ID:  <Pine.BSF.4.05.9911041503340.12797-100000@fw.wintelcom.net>
In-Reply-To: <19991104024615.57A0F14CFB@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Nov 1999, Jonathan M. Bresler wrote:

> 
> Alfred
> 	which Linksys cards do you have?  both the 10BaseT/10Base2
> combo and the 10/100BaseT pccard cards work fine.  i am using one
> right now to write this.  your copy of /dev/sys/ed/if_ed.c should be
> 1.171 or higher.
> 
> 	i would be glad to help you out with this.

Actually a new -current seems to work, I get a few wierd messages
during bootup:

pcic: polling, can't alloc 0
pcic: polling, can't alloc 0
pcic0: <Intel i82365> on isa0
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
...
ppc0 at port 0x3bc-0x3c3 irq 7 on isa0
isa_compat: didn't get ports for ppc
...
ep0 at port 0x300 irq 10 on isa0
ep0: eeprom failed to come ready.
ep0: eeprom failed to come ready.
ep0: eeprom failed to come ready.
ep0: eeprom failed to come ready.
ep0: eeprom failed to come ready.
ep0: Ethernet address ff:ff:ff:ff:ff:ff
isa_compat: didn't get ports for le
isa_compat: didn't get irq for lnc
isa_compat: didn't get ports for cs
...
pcm0: <ESS1868 rev 11> at irq 5 on isa0
device_probe_and_attach: pcm0 attach returned 6
...
pccard: card inserted, slot 0
link_elf: symbol pccard_alloc_intr undefined
devclass_alloc_unit: ed0 already exists, using next available unit number
ed1 at port 0x200-0x21f irq 9 slot 0 on pccard0
ed1: address 00:e0:98:70:51:a5, type NE2000 (16 bit) 

  ^--- yes!

I guess this is just newbus fighting with our old config, but
If anyone is interested just ask for details.

thanks a lot to the people working on mobile stuff!

this is the entry I used for my card:

card "Network Everywhere" "Ethernet 10BaseT PC Card"
        config  0x1 "ed0" ?
        insert  echo Network Everywhere Ethernet 10BaseT PC Card inserted
        insert  /etc/pccard_ether ed0
        remove  echo Network Everywhere Ethernet 10BaseT PC Card removed
        remove  /sbin/ifconfig ed0 delete

should I commit this to pccard.conf?

-Alfred


machine         "i386"
cpu             "I586_CPU"
cpu             "I686_CPU"
ident           pixie
maxusers        48

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         MFS                     #Memory Filesystem
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         "CD9660_ROOT"           #CD-ROM usable as root. "CD9660" req'ed
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

options         DDB
options         SOFTUPDATES

#config         kernel  root on wd0

controller      isa0
controller      pnp0                    # PnP support for ISA
controller      eisa0
controller      pci0
controller miibus0 # MII bus support

controller      fdc0    at isa? port "IO_FD1" irq 6 drq 2
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
device          psm0    at atkbdc? irq 12

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa?

device          npx0    at nexus? port IO_NPX irq 13

#
# Laptop support (see LINT for more options)
#
device          apm0    at nexus?       disable flags 0x31 # Advanced Power Mana
gement

# PCCARD (PCMCIA) support
controller      card0
device          pcic0   at isa?
device          pcic1   at isa?

device          sio0    at isa? port "IO_COM1" flags 0x10 irq 4
device          sio1    at isa? port "IO_COM2" irq 3
device          sio2    at isa? disable port "IO_COM3" irq 5
device          sio3    at isa? disable port "IO_COM4" irq 9

# Parallel port
device          ppc0    at isa? port? irq 7
controller      ppbus0
device          lpt0    at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?

device ed0 at isa? port 0x300 irq 10 iomem 0xd0000
device ie0 at isa? port 0x300 irq 10 iomem 0xd0000
device ep0 at isa? port 0x300 irq 10
device ex0 at isa? port? irq?
device fe0 at isa? port 0x300 irq ?
device le0 at isa? port 0x300 irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 irq 10 drq 0
device cs0 at isa? port 0x300 irq ?

pseudo-device   loop 
pseudo-device   ether
pseudo-device   sl      1
pseudo-device   ppp     1
pseudo-device   tun     1
pseudo-device   bpf     4
pseudo-device   pty     256
pseudo-device   gzip            # Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options         KTRACE          #kernel tracing

# This provides support for System V shared memory and message queues.
# 
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
options         USER_LDT                #allow user-level control of i386 ldt

options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
options         IPFIREWALL_FORWARD      #enable transparent proxy support  
options         IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options         IPDIVERT                #divert sockets
 
options         "ICMP_BANDLIM"
 
options DUMMYNET
options         "P1003_1B"
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L

options         VESA

controller      wdc0    at isa? port "IO_WD1" irq 14
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" irq 15
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

device          wcd0            #IDE CD-ROM
device          wfd0            #IDE Floppy (e.g. LS-120)

device pcm0 at isa? port ? irq 10 drq 1 flags 0x0





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?Pine.BSF.4.05.9911041503340.12797-100000>