Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/dev/lib/libpci Implement the inverse of a nop.



details:   https://anonhg.NetBSD.org/src/rev/83268e388b04
branches:  trunk
changeset: 813151:83268e388b04
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 18 14:37:53 2016 +0000

description:
Implement the inverse of a nop.

diffstat:

 sys/rump/dev/lib/libpci/rumpdev_bus_space.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2b747cf0f826 -r 83268e388b04 sys/rump/dev/lib/libpci/rumpdev_bus_space.c
--- a/sys/rump/dev/lib/libpci/rumpdev_bus_space.c       Mon Jan 18 09:17:59 2016 +0000
+++ b/sys/rump/dev/lib/libpci/rumpdev_bus_space.c       Mon Jan 18 14:37:53 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpdev_bus_space.c,v 1.6 2015/08/11 22:28:34 pooka Exp $      */
+/*     $NetBSD: rumpdev_bus_space.c,v 1.7 2016/01/18 14:37:53 pooka Exp $      */
 
 /*-
  * Copyright (c) 2013 Antti Kantee.  All Rights Reserved.
@@ -272,6 +272,9 @@
        bus_size_t size)
 {
 
+       if (bst == 0)
+               return;
+
        panic("%s: unimplemented", __func__);
 }
 



Home | Main Index | Thread Index | Old Index