Author: dchapyshev
Date: Wed Jun 18 14:00:50 2008
New Revision: 34015
URL:
http://svn.reactos.org/svn/reactos?rev=34015&view=rev
Log:
- Add rasacd driver (not implemented)
Added:
trunk/reactos/drivers/network/acd/
trunk/reactos/drivers/network/acd/acd/
trunk/reactos/drivers/network/acd/acd/main.c (with props)
trunk/reactos/drivers/network/acd/include/
trunk/reactos/drivers/network/acd/include/acdapi.h (with props)
trunk/reactos/drivers/network/acd/rasacd.def (with props)
trunk/reactos/drivers/network/acd/rasacd.rbuild (with props)
trunk/reactos/drivers/network/acd/rasacd.rc (with props)
Added: trunk/reactos/drivers/network/acd/acd/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/acd/acd/ma…
==============================================================================
--- trunk/reactos/drivers/network/acd/acd/main.c (added)
+++ trunk/reactos/drivers/network/acd/acd/main.c [iso-8859-1] Wed Jun 18 14:00:50 2008
@@ -1,0 +1,45 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS RAS Automatic Connection Driver
+ * FILE: acd/main.c
+ * PURPOSE: Driver entry point
+ * PROGRAMMERS: Dmitry Chapyshev(dmitry(a)reactos.org)
+ * REVISIONS:
+ * 25/05/2008 Created
+ */
+
+#include <ndis.h>
+#include <tdi.h>
+#include <debug.h>
+
+#include "acdapi.h"
+
+NTSTATUS
+DriverEntry(PDRIVER_OBJECT pDriverObject,
+ PUNICODE_STRING pRegistryPath)
+{
+ UNICODE_STRING DeviceName;
+ PDEVICE_OBJECT pDeviceObject;
+ NTSTATUS Status;
+
+ RtlInitUnicodeString(&DeviceName, L"RasAcd");
+
+ Status = IoCreateDevice(pDriverObject,
+ 0,
+ &DeviceName,
+ FILE_DEVICE_RASACD,
+ 0,
+ FALSE,
+ &pDeviceObject);
+
+ if (!NT_SUCCESS(Status))
+ {
+ DPRINT1("IoCreateDevice() failed (Status %lx)\n", Status);
+ return Status;
+ }
+
+ return STATUS_SUCCESS;
+}
+
+/* EOF */
+
Propchange: trunk/reactos/drivers/network/acd/acd/main.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/drivers/network/acd/include/acdapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/acd/includ…
==============================================================================
--- trunk/reactos/drivers/network/acd/include/acdapi.h (added)
+++ trunk/reactos/drivers/network/acd/include/acdapi.h [iso-8859-1] Wed Jun 18 14:00:50
2008
@@ -1,0 +1,11 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS RAS Automatic Connection Driver
+ * FILE: include/acdapi.h
+ * PURPOSE: Header file
+ * PROGRAMMERS: Dmitry Chapyshev(dmitry(a)reactos.org)
+ * REVISIONS:
+ * 25/05/2008 Created
+ */
+
+#define FILE_DEVICE_RASACD 0xf1
Propchange: trunk/reactos/drivers/network/acd/include/acdapi.h
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/drivers/network/acd/rasacd.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/acd/rasacd…
==============================================================================
--- trunk/reactos/drivers/network/acd/rasacd.def (added)
+++ trunk/reactos/drivers/network/acd/rasacd.def [iso-8859-1] Wed Jun 18 14:00:50 2008
@@ -1,0 +1,8 @@
+; RAS Automatic Connection Driver - ReactOS Operating System
+
+LIBRARY RASACD.SYS
+
+EXPORTS
+
+
+; EOF
Propchange: trunk/reactos/drivers/network/acd/rasacd.def
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/drivers/network/acd/rasacd.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/acd/rasacd…
==============================================================================
--- trunk/reactos/drivers/network/acd/rasacd.rbuild (added)
+++ trunk/reactos/drivers/network/acd/rasacd.rbuild [iso-8859-1] Wed Jun 18 14:00:50 2008
@@ -1,0 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="rasacd" type="kernelmodedriver"
installbase="system32/drivers" installname="rasacd.sys">
+ <importlibrary definition="rasacd.def"></importlibrary>
+ <include base="rasacd">include</include>
+ <library>ntoskrnl</library>
+ <library>hal</library>
+ <directory name="include">
+ <pch>acdapi.h</pch>
+ </directory>
+ <directory name="acd">
+ <file>main.c</file>
+ </directory>
+ <file>rasacd.rc</file>
+</module>
Propchange: trunk/reactos/drivers/network/acd/rasacd.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/drivers/network/acd/rasacd.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/acd/rasacd…
==============================================================================
--- trunk/reactos/drivers/network/acd/rasacd.rc (added)
+++ trunk/reactos/drivers/network/acd/rasacd.rc [iso-8859-1] Wed Jun 18 14:00:50 2008
@@ -1,0 +1,7 @@
+/* $Id: ndis.rc 21293 2006-03-11 23:55:37Z jimtabor $ */
+
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "NDIS Library\0"
+#define REACTOS_STR_INTERNAL_NAME "ndis\0"
+#define REACTOS_STR_ORIGINAL_FILENAME "ndis.sys\0"
+#include <reactos/version.rc>
Propchange: trunk/reactos/drivers/network/acd/rasacd.rc
------------------------------------------------------------------------------
svn:eol-style = native