#!/bin/sh
# based on Copyright (C) 2011, 2017 O.S. Systems Software LTDA.
# Licensed on MIT

probe() {
	modprobe "$1"
	if test $? -eq 1;
	then
		modprobe -r "$1"
	fi
}


pcmcia_enabled() {
	return 0
}

pcmcia_run() {
	# for cocon486 : force load PCMCIA modules
	if test -z "$bootparam_nopcmcia";
	then
		probe i82365
		probe tcic
		probe pd6729
		probe i82092
	fi
}
