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:
beveloper 2004-05-03 22:13:09 +00:00
parent 6acce18557
commit 4543b62738
2 changed files with 16 additions and 4 deletions

View File

@ -12,6 +12,7 @@
#include "debug.h"
#include "device.h"
#include "driver.h"
#include "setup.h"
int32 api_version = B_CUR_DRIVER_API_VERSION;
@ -51,15 +52,15 @@ init_driver(void)
int index;
int cards;
dprintf(INFO1"\n");
dprintf(INFO2"\n");
dprintf(INFO3"\n");
#ifdef DEBUG
set_dprintf_enabled(true);
load_driver_symbols("rtl8169");
#endif
dprintf(INFO1"\n");
dprintf(INFO2"\n");
dprintf(INFO3"\n");
item = (pci_info *)malloc(sizeof(pci_info));
if (!item)
return B_NO_MEMORY;

View File

@ -0,0 +1,11 @@
/* Realtek RTL8169 Family Driver
* Copyright (C) 2004 Marcus Overhagen <marcus@overhagen.de>. 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 <marcus@overhagen.de>"
#define INFO3 "rtl8169: All rights reserved. Build " __DATE__ " "__TIME__
#endif