1# PCMCIA devices: 2# 3ACTION!="add", GOTO="pcmciautils_end" 4 5# Very few CIS firmware entries (which we use for matching) 6# are so broken that we need to read out random bytes of it 7# instead of the manufactor, card or product ID. Then the 8# matching is done in userspace. 9SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \ 10 RUN+="/lib/udev/pcmcia-check-broken-cis" 11 12# However, the "weak" matching by func_id is only allowed _after_ modprobe 13# returns, so that "strong" matches have a higher priority. 14SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", ATTR{allow_func_id_match}="1" 15 16# PCMCIA sockets: 17# 18# modprobe the pcmcia bus module so that 16-bit PCMCIA devices work 19SUBSYSTEM=="pcmcia_socket", \ 20 RUN+="/sbin/modprobe -b pcmcia" 21 22# if this is a PCMCIA socket which needs a resource database, 23# pcmcia-socket-startup sets it up 24SUBSYSTEM=="pcmcia_socket", \ 25 RUN+="/lib/udev/pcmcia-socket-startup" 26 27LABEL="pcmciautils_end" 28