Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm Remove vchiq...



details:   https://anonhg.NetBSD.org/src/rev/0aac1e8f02bc
branches:  trunk
changeset: 785703:0aac1e8f02bc
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Mar 25 22:01:49 2013 +0000

description:
Remove vchiq_doorbell_irq. We have our own version in vchiq_intr.

diffstat:

 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_2835_arm.c |  20 ----------
 1 files changed, 0 insertions(+), 20 deletions(-)

diffs (30 lines):

diff -r 3ac2a077c3f0 -r 0aac1e8f02bc sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_2835_arm.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_2835_arm.c  Mon Mar 25 21:58:24 2013 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_2835_arm.c  Mon Mar 25 22:01:49 2013 +0000
@@ -500,26 +500,6 @@
  * Local functions
  */
 
-#ifdef notyet 
-static irqreturn_t
-vchiq_doorbell_irq(int irq, void *dev_id)
-{
-       VCHIQ_STATE_T *state = dev_id;
-       irqreturn_t ret = IRQ_NONE;
-       unsigned int status;
-
-       /* Read (and clear) the doorbell */
-       status = readl(__io_address(ARM_0_BELL0));
-
-       if (status & 0x4) {  /* Was the doorbell rung? */
-               remote_event_pollall(state);
-               ret = IRQ_HANDLED;
-       }
-
-       return ret;
-}
-#endif
-
 /* There is a potential problem with partial cache lines (pages?)
 ** at the ends of the block when reading. If the CPU accessed anything in
 ** the same line (page?) then it may have pulled old data into the cache,



Home | Main Index | Thread Index | Old Index