mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
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:
parent
1d0eab59d3
commit
0e5e974182
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30824
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user