Source-Changes-D archive

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

Re: CVS commit: src/sys/dev/sbus




To: source-changes-d%NetBSD.org@localhost, macallan%netbsd.org@localhost

Subject: Re: CVS commit: src/sys/dev/sbus

From: Ryo Shimizu <ryo%nerv.org@localhost>

Date: Sat, 30 Oct 2021 23:09:05 +0900


>Module Name: src
>Committed By: macallan
>Date:  Sat Oct 30 05:37:39 UTC 2021
>
>Modified Files:
> src/sys/dev/sbus: mgx.c mgxreg.h
>
>Log Message:
>actually mmap() the blitter registers when asked to, while there do some
>magic number reduction
>
>
>To generate a diff of this commit:
>cvs rdiff -u -r1.17 -r1.18 src/sys/dev/sbus/mgx.c
>cvs rdiff -u -r1.5 -r1.6 src/sys/dev/sbus/mgxreg.h

@@ -684,6 +684,8 @@
  uint32_t fg, bg;
  int x, y, wi, he, rv;
 
+if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return;
+
  wi = font->fontwidth;
  he = font->fontheight;
 
@@ -731,6 +733,8 @@
  uint32_t fg, bg, scratch = ((sc->sc_stride * sc->sc_height) + 7) & ~7;
  int x, y, wi, he, len, i;
 
+if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return;
+
  wi = font->fontwidth;
  he = font->fontheight;
 

This seems to be a strange indent.
Or debugging code mixed in?

-- 
ryo shimizu




Prev by Date: Re: CVS commit: src/usr.sbin/rpcbind

Next by Date: Re: CVS commit: src/sys/arch

Previous by Thread: Re: CVS commit: src/usr.sbin/rpcbind

Next by Thread: Re: CVS commit: src/sys/arch

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index