Displaying 20 results from an estimated 132 matches for "254,6".
Did you mean:
24,6
2006 Nov 25
2
patch for old APC Smart-UPS 600
...indeed, the UPS
was returning D6, D5, or D4 in response to "b" command. I still do not
understand the inconsistency, but I have observed these 3 strings at least.
I came up with the following patch to apcsmart.h:
--- nut-2.0.4.orig/drivers/apcsmart.h
+++ nut-2.0.4/drivers/apcsmart.h
@@ -254,6 +254,10 @@
/* APC600 */
{ "6QD", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz", 0 },
{ "6TI", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz", 0 },
+ /* Smart-UPS 600 */
+ { "D6", "789ABCEFG...
2016 Feb 16
2
[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.
...ixup(struct drm_crtc *crtc,
> - const struct drm_display_mode *mode,
> - struct drm_display_mode *adjusted_mode)
> -{
> - return true;
> -}
> -
> static void atmel_hlcdc_crtc_disable(struct drm_crtc *c)
> {
> struct drm_device *dev = c->dev;
> @@ -261,7 +254,6 @@ static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc,
> }
>
> static const struct drm_crtc_helper_funcs lcdc_crtc_helper_funcs = {
> - .mode_fixup = atmel_hlcdc_crtc_mode_fixup,
> .mode_set = drm_helper_crtc_mode_set,
> .mode_set_nofb = atmel_hlcdc_crtc_mod...
2016 Feb 16
2
[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.
...ixup(struct drm_crtc *crtc,
> - const struct drm_display_mode *mode,
> - struct drm_display_mode *adjusted_mode)
> -{
> - return true;
> -}
> -
> static void atmel_hlcdc_crtc_disable(struct drm_crtc *c)
> {
> struct drm_device *dev = c->dev;
> @@ -261,7 +254,6 @@ static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc,
> }
>
> static const struct drm_crtc_helper_funcs lcdc_crtc_helper_funcs = {
> - .mode_fixup = atmel_hlcdc_crtc_mode_fixup,
> .mode_set = drm_helper_crtc_mode_set,
> .mode_set_nofb = atmel_hlcdc_crtc_mod...
2014 Apr 16
2
[LLVMdev] X86 mmx movq disassembler fail
0x0f 0x6f 0xc8
And
0x0f 0x7f 0xc1
Should both be movq % mm0, % mm1. (AT&T)
However, llvm 3.4 at least does not recognise the second variant as being a
valid instruction.
We are currently compiling up latest src incase it has been fixed. If not,
could someone take a look or recommend how to fix?
Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2020 Jan 06
1
[PATCH v2 2/3] drm/nouveau: Check framebuffer size against bo
...> struct nouveau_drm *drm = nouveau_drm(dev);
> struct nouveau_framebuffer *fb;
> + const struct drm_format_info *info;
> + unsigned int width, height, i;
> int ret;
>
> /* YUV overlays have special requirements pre-NV50 */
> @@ -254,6 +322,31 @@ nouveau_framebuffer_new(struct drm_device *dev,
> return -EINVAL;
> }
>
> + info = drm_get_format_info(dev, mode_cmd);
> +
> + for (i = 0; i < info->num_planes; i++) {
> + width = drm_format_info_plane_width(i...
2020 Apr 02
1
[PATCH v2] virtio/test: fix up after IOTLB changes
..._byteorder.h>
#include <linux/uio.h>
#include <linux/slab.h>
+#if IS_REACHABLE(CONFIG_VHOST_IOTLB)
#include <linux/dma-direction.h>
#include <linux/vhost_iotlb.h>
+#endif
#include <asm/barrier.h>
/* virtio_ring with information needed for host access. */
@@ -254,6 +256,8 @@ static inline __virtio64 cpu_to_vringh64(const struct vringh *vrh, u64 val)
return __cpu_to_virtio64(vringh_is_little_endian(vrh), val);
}
+#if IS_REACHABLE(CONFIG_VHOST_IOTLB)
+
void vringh_set_iotlb(struct vringh *vrh, struct vhost_iotlb *iotlb);
int vringh_init_iotlb(struct...
2019 May 28
1
[PATCH] build: build C sources using OCaml API with CAML_NAME_SPACE
...akefile.am
@@ -50,6 +50,7 @@ noinst_DATA = $(MLXML_CMA)
libmlxml_a_SOURCES = $(SOURCES_C)
libmlxml_a_CPPFLAGS = \
+ -DCAML_NAME_SPACE \
-I. \
-I$(top_builddir) \
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
diff --git a/customize/Makefile.am b/customize/Makefile.am
index 9c0012546..4c246b417 100644
--- a/customize/Makefile.am
+++ b/customize/Makefile.am
@@ -92,6 +92,7 @@ noinst_DATA = $(CUSTOMIZE_CMA)
libcustomize_a_SOURCES = $(SOURCES_C)
libcustomize_a_CPPFLAGS = \
+ -DCAML_NAME_SPACE \
-I. \
-I$(top_builddir) \
-I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib...
2017 Feb 14
4
[PATCH v2 0/2] hivex: handle corrupted hives better
The following patches address issues when dealing with hives that have
corrupted data in them but are otherwise readable/writable. Those were
found on some rather rare Windows installations that seem to work fine
but current hivex fails to even open.
Those patches change hivex to simply log and ignore such "corrupted"
regions instead of aborting because the caller might be looking at
2002 May 04
1
A simpler move-files patch
..._NAME SAME_DIR
#define LONG_NAME (1<<6)
#define SAME_TIME (1<<7)
+#define FLAG_NO_DELETE (1<<8)
/* update this if you make incompatible changes */
#define PROTOCOL_VERSION 26
Index: rsync.yo
--- save/rsync.yo Fri May 3 16:35:18 2002
+++ rsync.yo Sat May 4 11:53:41 2002
@@ -254,6 +254,7 @@
--delete-after delete after transferring, not before
--ignore-errors delete even if there are IO errors
--max-delete=NUM don't delete more than NUM files
+ --move-files remove the synchronized files from the sending side...
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Use error instead of warnx for fatal errors in printf
...t string to we can use it
as an argument to printf. */
nextch = fmt[1];
@@ -250,8 +246,7 @@ pc:
}
#endif
default:
- warnx("%s: invalid directive", start);
- goto err;
+ error("%s: invalid directive", start);
}
*++fmt = nextch;
}
@@ -259,8 +254,6 @@ pc:
out:
return rval;
-err:
- return 1;
}
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Use error instead of warnx for fatal errors in printf
...t string to we can use it
as an argument to printf. */
nextch = fmt[1];
@@ -250,8 +246,7 @@ pc:
}
#endif
default:
- warnx("%s: invalid directive", start);
- goto err;
+ error("%s: invalid directive", start);
}
*++fmt = nextch;
}
@@ -259,8 +254,6 @@ pc:
out:
return rval;
-err:
- return 1;
}
2016 Feb 16
0
[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.
...cfg);
}
-static bool atmel_hlcdc_crtc_mode_fixup(struct drm_crtc *crtc,
- const struct drm_display_mode *mode,
- struct drm_display_mode *adjusted_mode)
-{
- return true;
-}
-
static void atmel_hlcdc_crtc_disable(struct drm_crtc *c)
{
struct drm_device *dev = c->dev;
@@ -261,7 +254,6 @@ static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc,
}
static const struct drm_crtc_helper_funcs lcdc_crtc_helper_funcs = {
- .mode_fixup = atmel_hlcdc_crtc_mode_fixup,
.mode_set = drm_helper_crtc_mode_set,
.mode_set_nofb = atmel_hlcdc_crtc_mode_set_nofb,
.mode_set_base =...
2016 Feb 17
0
[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.
...const struct drm_display_mode *mode,
>> - struct drm_display_mode *adjusted_mode)
>> -{
>> - return true;
>> -}
>> -
>> static void atmel_hlcdc_crtc_disable(struct drm_crtc *c)
>> {
>> struct drm_device *dev = c->dev;
>> @@ -261,7 +254,6 @@ static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc,
>> }
>>
>> static const struct drm_crtc_helper_funcs lcdc_crtc_helper_funcs = {
>> - .mode_fixup = atmel_hlcdc_crtc_mode_fixup,
>> .mode_set = drm_helper_crtc_mode_set,
>> .mode_set_nof...
2017 Feb 08
0
[PATCH 1/2] lib: change how hbin sections are read.
...d next page by seeking at 0x%zx", off);
+ found = 1;
+ break;
+ }
+ }
+
+ if (!found) {
+ DEBUG(2, "page not found and end of pages section reached");
+ break;
+ }
}
size_t page_size = le32toh (page->page_size);
@@ -254,6 +273,16 @@ hivex_open (const char *filename, int flags)
goto error;
}
+ size_t page_offset = le32toh(page->offset_first) + 0x1000;
+
+ if (page_offset != off) {
+ SET_ERRNO(ENOTSUP,
+ "%s: declared page offset (0x%zx) does not match computed "...
2017 Feb 14
0
[PATCH v2 1/2] lib: change how hbin sections are read.
...next page by seeking at 0x%zx", off);
+ found = 1;
+ break;
+ }
+ }
+
+ if (!found) {
+ DEBUG (2, "page not found and end of pages section reached");
+ break;
+ }
}
size_t page_size = le32toh (page->page_size);
@@ -254,6 +273,16 @@ hivex_open (const char *filename, int flags)
goto error;
}
+ size_t page_offset = le32toh(page->offset_first) + 0x1000;
+
+ if (page_offset != off) {
+ SET_ERRNO (ENOTSUP,
+ "%s: declared page offset (0x%zx) does not match computed "...
2017 Feb 15
0
[PATCH v3 1/2] lib: change how hbin sections are read.
...next page by seeking at 0x%zx", off);
+ found = 1;
+ break;
+ }
+ }
+
+ if (!found) {
+ DEBUG (2, "page not found and end of pages section reached");
+ break;
+ }
}
size_t page_size = le32toh (page->page_size);
@@ -254,6 +273,16 @@ hivex_open (const char *filename, int flags)
goto error;
}
+ size_t page_offset = le32toh(page->offset_first) + 0x1000;
+
+ if (page_offset != off) {
+ SET_ERRNO (ENOTSUP,
+ "%s: declared page offset (0x%zx) does not match computed "...
2007 Dec 12
1
[PATCH]Support full capabilities on older Smart-UPS 600
...Smart-UPS");
dstate_setinfo("ups.model", "Smart-UPS");
}
Index: drivers/apcsmart.h
===================================================================
--- drivers/apcsmart.h (revision 1175)
+++ drivers/apcsmart.h (working copy)
@@ -254,6 +254,7 @@
/* APC600 */
{ "6QD", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz", 0 },
{ "6TI", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrsuxz", 0 },
+ { "6QI", "79ABCDEFGKLMNOPQRSUVWXYZcefgjklmnopqrs...
2016 Feb 17
1
[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.
...>> - struct drm_display_mode *adjusted_mode)
> >> -{
> >> - return true;
> >> -}
> >> -
> >> static void atmel_hlcdc_crtc_disable(struct drm_crtc *c)
> >> {
> >> struct drm_device *dev = c->dev;
> >> @@ -261,7 +254,6 @@ static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc,
> >> }
> >>
> >> static const struct drm_crtc_helper_funcs lcdc_crtc_helper_funcs = {
> >> - .mode_fixup = atmel_hlcdc_crtc_mode_fixup,
> >> .mode_set = drm_helper_crtc_mode_set,...
2016 Feb 17
1
[PATCH 11/16] drm/atmel-hldcd: removed optional dummy crtc mode_fixup function.
...>> - struct drm_display_mode *adjusted_mode)
> >> -{
> >> - return true;
> >> -}
> >> -
> >> static void atmel_hlcdc_crtc_disable(struct drm_crtc *c)
> >> {
> >> struct drm_device *dev = c->dev;
> >> @@ -261,7 +254,6 @@ static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc,
> >> }
> >>
> >> static const struct drm_crtc_helper_funcs lcdc_crtc_helper_funcs = {
> >> - .mode_fixup = atmel_hlcdc_crtc_mode_fixup,
> >> .mode_set = drm_helper_crtc_mode_set,...
2019 Dec 17
0
[PATCH v2 2/3] drm/nouveau: Check framebuffer size against bo
...-232,6 +298,8 @@ nouveau_framebuffer_new(struct drm_device *dev,
{
struct nouveau_drm *drm = nouveau_drm(dev);
struct nouveau_framebuffer *fb;
+ const struct drm_format_info *info;
+ unsigned int width, height, i;
int ret;
/* YUV overlays have special requirements pre-NV50 */
@@ -254,6 +322,31 @@ nouveau_framebuffer_new(struct drm_device *dev,
return -EINVAL;
}
+ info = drm_get_format_info(dev, mode_cmd);
+
+ for (i = 0; i < info->num_planes; i++) {
+ width = drm_format_info_plane_width(info,
+ mode_cmd->width,
+ i);
+ height = drm_format_inf...