summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-03-30 06:14:56 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-03-30 06:14:56 +0200
commitaf15af39f40695ec7f12f3637610fc1ebe1cd596 (patch)
tree821913bfe75479efb9a037572e82d9a29d63ab5d
parent3896b51b1454f53924a730b9b4ee19e69cfa8350 (diff)
.
-rw-r--r--nvlib.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/nvlib.h b/nvlib.h
index c4b7d08..b8c24e3 100644
--- a/nvlib.h
+++ b/nvlib.h
@@ -513,8 +513,6 @@ struct nv_device : public nv_region
nv_object(std::shared_ptr<nv_ramin> ramin, uint32_t offset)
: nv_region(ramin->dev), ramin(ramin)
{
- assert (dev->card_type < NV_50);
-
ptr = ramin->ptr + offset;
tag = rd32(0);
@@ -1054,7 +1052,6 @@ struct nv_device : public nv_region
fc = v << 12;
else
fc = v << 8;
- printf("%i %x\n", channel, fc);
if(fc >= ramin->size)
return 0;
return new nv_fifoctx(ramin, fc);