http://git.etherboot.org
/
people
/
sha0
/
winvblock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
73deb5a
)
[driver] Set IsBus flag on the main bus FDO
author
Shao Miller
<Shao.Miller@yrdsb.edu.on.ca>
Thu, 23 Dec 2010 14:19:34 +0000
(09:19 -0500)
committer
Shao Miller
<Shao.Miller@yrdsb.edu.on.ca>
Thu, 23 Dec 2010 14:19:34 +0000
(09:19 -0500)
src/winvblock/driver.c
patch
|
blob
|
history
diff --git
a/src/winvblock/driver.c
b/src/winvblock/driver.c
index
ecfc554
..
f1748c4
100644
(file)
--- a/
src/winvblock/driver.c
+++ b/
src/winvblock/driver.c
@@
-143,7
+143,6
@@
static NTSTATUS STDCALL driver__attach_fdo_(
WV_SP_BUS_T bus;
PUNICODE_STRING dev_name = NULL;
PDEVICE_OBJECT fdo = NULL;
- WV_SP_DEV_T dev_ptr;
DBG("Entry\n");
/* Do we alreay have our main bus? */
@@
-185,6
+184,7
@@
static NTSTATUS STDCALL driver__attach_fdo_(
/* Set associations for the bus, device, FDO, PDO. */
WvDevForDevObj(fdo, &bus->Dev);
bus->Dev.Self = bus->Fdo = fdo;
+ bus->Dev.IsBus = TRUE;
bus->PhysicalDeviceObject = PhysicalDeviceObject;
fdo->Flags |= DO_DIRECT_IO; /* FIXME? */
fdo->Flags |= DO_POWER_INRUSH; /* FIXME? */