minor mods for mimicking NS83820 functionality
dev/ide_ctrl.cc:
generalize these #defs
dev/ide_ctrl.hh:
put these in pcireg.h
dev/ns_gige.cc:
do i need io_enable? and assert will fail if i actually need to implement it, which may give clue as to wehtehr i need to implmeent the mem_enable and bm_enable stuff.
dev/ns_gige.hh:
implement this in case it's needed
dev/pcireg.h:
put these defs in pcireg instead
--HG--
extra : convert_revision : 5e3581b5da17410f943907139bd479f15d2231e8
This commit is contained in:
@@ -74,10 +74,6 @@
|
||||
#define UDMACTL (5)
|
||||
#define UDMATIM (6)
|
||||
|
||||
// PCI Command bit fields
|
||||
#define BME 0x04 // Bus master function enable
|
||||
#define IOSE 0x01 // I/O space enable
|
||||
|
||||
typedef enum RegType {
|
||||
COMMAND_BLOCK = 0,
|
||||
CONTROL_BLOCK,
|
||||
|
||||
Reference in New Issue
Block a user