Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22462 - multiple options in PCIC in /etc/conf.d/pcmcia render PCIC_OPTS inoperative
Summary: multiple options in PCIC in /etc/conf.d/pcmcia render PCIC_OPTS inoperative
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-08 15:56 UTC by Colin Morey (RETIRED)
Modified: 2003-10-09 06:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Morey (RETIRED) gentoo-dev 2003-06-08 15:56:42 UTC
the default /etc/conf.d/pcmcia file provided by sys-apps/pcmcia prevents the
passing of options to the PCI interface controller

Reproducible: Always
Steps to Reproduce:
1. emerge pcmcia-cs
2. try and pass options to the controller via PCIC_OPTS

Actual Results:  
1. worked, installed fine
2. PCIC_OPTS is ignored

Expected Results:  
worked :), obeyed the options I'd specified in PCIC_OPTS


the default /etc/conf.d/pcmcia file contains the following,
--quote start--
# These are from the pcmcia-cs distribution, but aren't used yet
# Should be either i82365 or tcic
PCIC="i82365 tcic"
# Put socket driver timing parameters here
PCIC_OPTS=""
--

I'd added "irq_mode=0 pci_irq_list=10,10" to my PCIC_OPTS entry to get my TI
1410 PCI <-> PCMCIA adapter working, and whilst running "modprobe i82365
irq_mode=0 pci_irq_list=10,10" manually would work, running /etc/init.d/pcmcia
start wouldn't.  Setting the PCIC  variable to i82365 only, made
/etc/init.d/pcmcia work as expected. 

I believe the easy fix would be to have PCIC set to i82365 as default, with tcic
as an option.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2003-10-09 06:48:23 UTC
Fixed. thanks for the nudge.