Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 12:06:23 -0700 (PDT)
From:      Doug Ambrisko <ambrisko@whistle.com>
To:        imp@village.org
Cc:        mobile@FreeBSD.ORG
Subject:   Re: PCIC/Libretto brokenness - fixed!
Message-ID:  <199910261906.MAA11431@whistle.com>
In-Reply-To: <199910261758.KAA10547@whistle.com> from Doug Ambrisko at "Oct 26, 99 10:58:34 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Ambrisko writes:
| Nec 6030X, Thinkpad 770Z, Generic PC with ISA PCCard adapter.
| 
| On the Nec 6030X I got the dreaded:
| 
|  chip1: <Intel 82371MX mobile PCI I/O IDE accelerator (MPIIX)> at device 1.0 on pci0
|  vga-pci0: <Chips & Technologies model 00e0 VGA-compatible display device> at device 2.0 on pci0
|  pcic0: <TI PCI-1130 PCI-CardBus Bridge> at device 3.0 on pci0
|  pcic1: <TI PCI-1130 PCI-CardBus Bridge> at device 3.1 on pci0
|  devclass_alloc_unit: pcic0 already exists, using next available unit number
|  devclass_alloc_unit: pcic1 already exists, using next available unit number
|  isa0: <ISA bus> on motherboard
| 
| and no card device created so things didn't work.  I nuke the contents
| of sys/pci/pcic_p.c and rebuilt.

I have a guess that having the PCI device probe as "pcic" was
confusing things.  Changing the name prevents the conflict. 
This works on my IBM 770Z & Nec 6030X.

Doug A.

Index: pcic_p.c
===================================================================
RCS file: /cvs/src/sys/pci/pcic_p.c,v
retrieving revision 1.14
diff -c -r1.14 pcic_p.c
*** pcic_p.c	1999/08/28 00:51:04	1.14
--- pcic_p.c	1999/10/26 19:16:02
***************
*** 47,53 ****
  static void  pd6832_legacy_init(pcici_t tag, int unit);
  
  static struct pci_device pcic_pci_driver = {
! 	"pcic",
  	pcic_pci_probe,
  	pcic_pci_attach,
  	&pcic_pci_count,
--- 47,53 ----
  static void  pd6832_legacy_init(pcici_t tag, int unit);
  
  static struct pci_device pcic_pci_driver = {
! 	"pcicfoo",
  	pcic_pci_probe,
  	pcic_pci_attach,
  	&pcic_pci_count,


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?199910261906.MAA11431>