updated to most recent version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7387 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
#include "driver.h"
|
#include "driver.h"
|
||||||
|
#include "setup.h"
|
||||||
|
|
||||||
int32 api_version = B_CUR_DRIVER_API_VERSION;
|
int32 api_version = B_CUR_DRIVER_API_VERSION;
|
||||||
|
|
||||||
@@ -51,15 +52,15 @@ init_driver(void)
|
|||||||
int index;
|
int index;
|
||||||
int cards;
|
int cards;
|
||||||
|
|
||||||
dprintf(INFO1"\n");
|
|
||||||
dprintf(INFO2"\n");
|
|
||||||
dprintf(INFO3"\n");
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
set_dprintf_enabled(true);
|
set_dprintf_enabled(true);
|
||||||
load_driver_symbols("rtl8169");
|
load_driver_symbols("rtl8169");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
dprintf(INFO1"\n");
|
||||||
|
dprintf(INFO2"\n");
|
||||||
|
dprintf(INFO3"\n");
|
||||||
|
|
||||||
item = (pci_info *)malloc(sizeof(pci_info));
|
item = (pci_info *)malloc(sizeof(pci_info));
|
||||||
if (!item)
|
if (!item)
|
||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
/* Realtek RTL8169 Family Driver
|
||||||
|
* Copyright (C) 2004 Marcus Overhagen <[email protected]>. All rights reserved.
|
||||||
|
*/
|
||||||
|
#ifndef __SETUP_H
|
||||||
|
#define __SETUP_H
|
||||||
|
|
||||||
|
#define INFO1 "rtl8169: Realtek RTL8169 Family Driver. Version 1.0"
|
||||||
|
#define INFO2 "rtl8169: Copyright (C) 2004 Marcus Overhagen <[email protected]>"
|
||||||
|
#define INFO3 "rtl8169: All rights reserved. Build " __DATE__ " "__TIME__
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user