The previous change added a use of the DATA_SET macro, but forgot

to define it by including <sys/kernel.h>.  That broke PC-CARD
support for this driver, producing the dreaded "device allocation
failed" message.  Surprisingly, the missing include caused only
two compiler warnings.  The compilation still "succeeded" anyway.
This commit is contained in:
John Polstra 1997-10-29 00:51:50 +00:00
parent 1d0eab59d3
commit 0e5e974182
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30824
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: if_ed.c,v 1.124 1997/10/26 04:53:51 nate Exp $
* $Id: if_ed.c,v 1.125 1997/10/26 21:08:40 nate Exp $
*/
/*
@ -183,6 +183,7 @@ static void ed_setrcr(struct ed_softc *);
static u_long ds_crc(u_char *ep);
#if NCARD > 0
#include <sys/kernel.h>
#include <sys/select.h>
#include <pccard/card.h>
#include <pccard/driver.h>

View File

@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: if_ed.c,v 1.124 1997/10/26 04:53:51 nate Exp $
* $Id: if_ed.c,v 1.125 1997/10/26 21:08:40 nate Exp $
*/
/*
@ -183,6 +183,7 @@ static void ed_setrcr(struct ed_softc *);
static u_long ds_crc(u_char *ep);
#if NCARD > 0
#include <sys/kernel.h>
#include <sys/select.h>
#include <pccard/card.h>
#include <pccard/driver.h>