mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.4 KiB

  1. diff -dur pcmciautils-014/udev/rules-base pcmciautils-014-p/udev/rules-base
  2. --- pcmciautils-014/udev/rules-base 2006-06-01 11:07:52.000000000 +0200
  3. +++ pcmciautils-014-p/udev/rules-base 2007-01-12 04:08:53.000000000 +0100
  4. @@ -1,14 +1,14 @@
  5. -
  6. +
  7. # Very few CIS firmware entries (which we use for matching)
  8. # are so broken that we need to read out random bytes of it
  9. # instead of the manufactor, card or product ID. Then the
  10. # matching is done in userspace.
  11. -ACTION=="add", SUBSYSTEM=="pcmcia", MODALIAS=="?*", \
  12. +ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
  13. RUN+="/sbin/pcmcia-check-broken-cis"
  14. # However, the "weak" matching by func_id is only allowed _after_ modprobe
  15. # returns, so that "strong" matches have a higher priority.
  16. -ACTION=="add", SUBSYSTEM=="pcmcia", MODALIAS=="?*", \
  17. +ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
  18. RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/allow_func_id_match'"
  19. # PCMCIA sockets:
  20. diff -dur pcmciautils-014/udev/rules-modprobe pcmciautils-014-p/udev/rules-modprobe
  21. --- pcmciautils-014/udev/rules-modprobe 2006-06-01 11:07:52.000000000 +0200
  22. +++ pcmciautils-014-p/udev/rules-modprobe 2007-01-12 04:08:19.000000000 +0100
  23. @@ -1,3 +1,3 @@
  24. -# modprobe $modalias loads all possibly appropriate modules
  25. -ACTION=="add", SUBSYSTEM=="pcmcia", MODALIAS=="?*", \
  26. +# modprobe $modalias loads all possibly appropriate modules
  27. +ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
  28. RUN+="/sbin/modprobe $modalias"