Displaying 20 results from an estimated 67 matches for "driver_version".
2008 Sep 25
1
[nut-commits] svn commit r1534 - in trunk: . drivers scripts/subdriver
On Wed, Sep 24, 2008 at 2:27 PM, Arjen de Korte
<adkorte-guest at alioth.debian.org> wrote:
> - /* Server side variables */
> - { "driver.version.internal", ST_FLAG_STRING, sizeof(DRIVER_VERSION), NULL, NULL, DRIVER_VERSION, HU_FLAG_ABSENT, NULL },
> - { "driver.version.data", ST_FLAG_STRING, sizeof(APC_HID_VERSION), NULL, NULL, APC_HID_VERSION, HU_FLAG_ABSENT, NULL },
Just curious, why were the subdriver versions removed?
--
- Charles Lepple
2010 Apr 19
1
Patch for the bestfortress driver 0.02
...i.e. -D -D -D -D -D -D)
/J?rgen Thomsen
--- nut-2.4.3/drivers/bestfortress.c 2010-02-11 22:43:23.000000000 +0100
+++ nut-2.4.3j/drivers/bestfortress.c 2010-04-19 12:17:07.929852889 +0200
@@ -34,7 +34,7 @@
#endif
#define DRIVER_NAME "Best Fortress UPS driver"
-#define DRIVER_VERSION "0.02"
+#define DRIVER_VERSION "0.03"
/* driver description structure */
upsdrv_info_t upsdrv_info = {
@@ -203,20 +203,26 @@
int loadva;
int len;
int retry;
+ char ch;
int checksum_ok, is_online=1, is_off, low_batt, trimming, boostin...
2007 May 25
0
Patch -- SVN revision in the version string
...csmart.c (revision 916)
+++ drivers/apcsmart.c (working copy)
@@ -1199,7 +1199,7 @@
void upsdrv_banner(void)
{
printf("Network UPS Tools (version %s) - APC Smart protocol driver\n",
- UPS_VERSION);
+ upsversion());
printf("\tDriver version %s, command table %s\n",
APC_DRIVER_VERSION,
APC_TABLE_VERSION);
Index: drivers/bcmxcp.c
===================================================================
--- drivers/bcmxcp.c (revision 916)
+++ drivers/bcmxcp.c (working copy)
@@ -1252,7 +1252,7 @@
void upsdrv_banner(void)
{
printf("Network UPS Tools - BCMXCP UPS driver %s (%s)...
2012 Nov 19
0
[PATCH 247/493] drivers/block: remove use of __devinit
...ned char type)
+static int cciss_message(struct pci_dev *pdev, unsigned char opcode, unsigned char type)
{
typedef struct {
CommandListHeader_struct CommandHeader;
@@ -4571,13 +4571,13 @@ static int cciss_controller_hard_reset(struct pci_dev *pdev,
return 0;
}
-static __devinit void init_driver_version(char *driver_version, int len)
+static void init_driver_version(char *driver_version, int len)
{
memset(driver_version, 0, len);
strncpy(driver_version, "cciss " DRIVER_NAME, len - 1);
}
-static __devinit int write_driver_ver_to_cfgtable(
+static int write_driver_ver_to_cfgtable(...
2012 Nov 19
0
[PATCH 247/493] drivers/block: remove use of __devinit
...ned char type)
+static int cciss_message(struct pci_dev *pdev, unsigned char opcode, unsigned char type)
{
typedef struct {
CommandListHeader_struct CommandHeader;
@@ -4571,13 +4571,13 @@ static int cciss_controller_hard_reset(struct pci_dev *pdev,
return 0;
}
-static __devinit void init_driver_version(char *driver_version, int len)
+static void init_driver_version(char *driver_version, int len)
{
memset(driver_version, 0, len);
strncpy(driver_version, "cciss " DRIVER_NAME, len - 1);
}
-static __devinit int write_driver_ver_to_cfgtable(
+static int write_driver_ver_to_cfgtable(...
2020 Nov 02
0
[PATCH mlx5-next v1 03/11] net/mlx5_core: Clean driver version and name
.../en_ethtool.c
> > @@ -40,9 +40,7 @@ void mlx5e_ethtool_get_drvinfo(struct mlx5e_priv
> > *priv, {
> > struct mlx5_core_dev *mdev = priv->mdev;
> >
> > - strlcpy(drvinfo->driver, DRIVER_NAME, sizeof(drvinfo->driver));
> > - strlcpy(drvinfo->version, DRIVER_VERSION,
> > - sizeof(drvinfo->version));
> > + strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo-
> > >driver));
> > snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
> > "%d.%d.%04d (%.16s)",
> > fw_rev_maj(mdev), fw_r...
2014 Nov 03
0
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
...>, Per J?nsson <per.jonsson at bth.se>)
* Powerware 9120 (Gorm J. Siiger <gjs at sonnit.dk>)
* Fiskars PowerServer 10 (Per Larsson <tucker at algonet.se>)
*/
@@ -45,7 +45,7 @@
#include <math.h>
#define DRIVER_NAME "UPScode II UPS driver"
-#define DRIVER_VERSION "0.88"
+#define DRIVER_VERSION "0.89abm"
/* driver description structure */
upsdrv_info_t upsdrv_info = {
@@ -54,7 +54,7 @@
"H K Lygre, <hklygre at online.no>\n" \
"Niels Baggesen <niels at baggesen.net>\n" \
"Niklas Edmundsso...
2016 Apr 05
0
[PATCH 4/7] v2v: extract reusable parts of viostor regedits
...x00\x47\x00\x3e\x00\x00\x00\x00\x00\x00\x00\x00\x00" ];
-
- [ "DriverDatabase"; "DriverPackages"; viostor_inf; "Configurations" ],
- [];
+ let service_group = "SCSI miniport" in
+ (* NB: scsi_adapter_guid appears inside this string. *)
+ let driver_version = "\x00\xff\x09\x00\x00\x00\x00\x00\x7b\xe9\x36\x4d\x25\xe3\xce\x11\xbf\xc1\x08\x00\x2b\xe1\x03\x18\x00\x40\x90\xed\x87\x7f\xcf\x01\x98\x21\x68\x00\x47\x00\x3e\x00\x00\x00\x00\x00\x00\x00\x00\x00" in
+ let device_addr = "(0,7,0)" in
- [ "DriverDatabase"; "...
2010 Feb 15
1
upsdrv_info structure
...const char *authors; /* authors name */
const int status; /* driver development status */
struct upsdrv_info_s *subdrv_info[2]; /* sub driver information */
};
typedef struct upsdrv_info_s upsdrv_info_t;
Can't we just use something like
static upsdrv_info_t driver_info = {
DRIVER_NAME,
DRIVER_VERSION,
"Ex Ample <nobody op example.com>",
DRV_EXPERIMENTAL
};
upsdrv_info_t *upsdrv_info[] = {
&driver_info,
&subdriver_info,
NULL
};
In this example, subdriver_info is exported by an external module and
that is linked in the main driver.
Best regards, Arjen
--
Please...
2014 Mar 01
3
Git - do I have the right repository?
On Feb 28, 2014, at 7:49 PM, Tim Dawson wrote:
> I just noted that I got my outputs reversed in my posting - the git version is the .26, with 2.7.1 being .28, which still seems odd . . .
The "-3857M" suffix on the "0.26 (2.6.5-3857M)" version was generated from SVN. Is it possible that the driver is left over from another package?
--
Charles Lepple
clepple at gmail
2012 Feb 13
3
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
2012/2/6 thomas schorpp <thomas.schorpp at googlemail.com>:
> Hi,
Hi Thomas,
> I want the driver report the battery status from ABM charging controllers
> -patch attached- :
thanks for your patch.
since it introduces a new variable (battery.status.abm), I prefer to
step back and think to something useful more widely.
thus, I'm thinking about a generic
2014 Feb 10
0
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
...me needs to be a valid C identifier (alphanumeric).
> snmp_build: unknown failuresnmpget: Error building ASN.1 representation (Can't build OID for variable)
> COUNT = 0 / 0
> Creating netcard.mib-mib.h
> Creating netcard.mib-mib.c
> Done.
>
> Do not forget to:
> * bump DRIVER_VERSION in snmp-ups.c (add "0.01")
> * copy "netcard.mib-mib.h" and "netcard.mib-mib.c" to "../../drivers"
> * add #include "netcard.mib-mib.h" to snmp-ups.c
> * add &netcard.mib to snmp-ups.c:mib2nut[] list,
> * add netcard.mib-mib.c to snm...
2019 Nov 05
0
[PATCH V8 5/6] virtio: introduce a mdev based transport
...ice.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <linux/uuid.h>
+#include <linux/mdev.h>
+#include <linux/mdev_virtio_ops.h>
+#include <linux/virtio.h>
+#include <linux/virtio_config.h>
+#include <linux/virtio_ring.h>
+
+#define DRIVER_VERSION "0.1"
+#define DRIVER_AUTHOR "Red Hat Corporation"
+#define DRIVER_DESC "VIRTIO based driver for Mediated device"
+
+#define to_virtio_mdev_device(dev) \
+ container_of(dev, struct virtio_mdev_device, vdev)
+
+struct virtio_mdev_device {
+ struct virtio_device v...
2019 Oct 17
0
[PATCH V4 5/6] virtio: introduce a mdev based transport
.../device.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <linux/uuid.h>
+#include <linux/mdev.h>
+#include <linux/virtio_mdev.h>
+#include <linux/virtio.h>
+#include <linux/virtio_config.h>
+#include <linux/virtio_ring.h>
+
+#define DRIVER_VERSION "0.1"
+#define DRIVER_AUTHOR "Red Hat Corporation"
+#define DRIVER_DESC "VIRTIO based driver for Mediated device"
+
+#define to_virtio_mdev_device(dev) \
+ container_of(dev, struct virtio_mdev_device, vdev)
+
+struct virtio_mdev_device {
+ struct virtio_device v...
2019 Oct 11
0
[PATCH V3 6/7] virtio: introduce a mdev based transport
.../device.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <linux/uuid.h>
+#include <linux/mdev.h>
+#include <linux/virtio_mdev.h>
+#include <linux/virtio.h>
+#include <linux/virtio_config.h>
+#include <linux/virtio_ring.h>
+
+#define DRIVER_VERSION "0.1"
+#define DRIVER_AUTHOR "Red Hat Corporation"
+#define DRIVER_DESC "VIRTIO based driver for Mediated device"
+
+#define to_virtio_mdev_device(dev) \
+ container_of(dev, struct virtio_mdev_device, vdev)
+
+struct virtio_mdev_device {
+ struct virtio_device v...
2019 Nov 06
0
[PATCH V9 5/6] virtio: introduce a mdev based transport
...ice.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <linux/uuid.h>
+#include <linux/mdev.h>
+#include <linux/mdev_virtio_ops.h>
+#include <linux/virtio.h>
+#include <linux/virtio_config.h>
+#include <linux/virtio_ring.h>
+
+#define DRIVER_VERSION "0.1"
+#define DRIVER_AUTHOR "Red Hat Corporation"
+#define DRIVER_DESC "VIRTIO based driver for Mediated device"
+
+#define to_virtio_mdev_device(dev) \
+ container_of(dev, struct virtio_mdev_device, vdev)
+
+struct virtio_mdev_device {
+ struct virtio_device v...
2016 Apr 05
0
[PATCH 7/7] v2v: add support for SUSE VMDP drivers
...CC_00FF00" in
+
+ let balloon_bus_guid = "{4d36e97d-e325-11ce-bfc1-08002be10318}" in
+
+ let class_guid = "{9fae43c0-44bf-465e-90c9-3da1c30ed68b}" in
+
+ let service_group = "Boot Bus Extender" in
+ (* NB: balloon_bus_guid appears inside this string. *)
+ let driver_version = "\x00\xff\x09\x00\x00\x00\x00\x00\x7d\xe9\x36\x4d\x25\xe3\xce\x11\xbf\xc1\x08\x00\x2b\xe1\x03\x18\x00\x40\x7f\x1d\xdc\xfb\xd0\x01\x13\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" in
+ let device_addr = "(0,4,0)" in
+
+ let common_regedits = get_common_regedi...
2009 Mar 15
1
international charactes (was: Re: [nut-commits] svn commit r1805 - trunk/drivers)
...or Belkin Smart-UPS units.
>
> - Copyright (C) 2000 Marcus M?ller <marcus at ebootis.de>
> + Copyright (C) 2000 Marcus M?ller <marcus at ebootis.de>
>
> based on:
>
> @@ -34,14 +34,14 @@
> upsdrv_info_t upsdrv_info = {
> DRIVER_NAME,
> DRIVER_VERSION,
> - "Marcus M?ller <marcus at ebootis.de>",
> + "Marcus M?ller <marcus at ebootis.de>",
> DRV_STABLE,
> { NULL }
> };
>
...
2014 Feb 07
3
Tripplite UPS (SU10KRT3/1X) through snmp-ups (nut 2.6.5)
Hi, Nut-upsusers,
I am having problem configuring NUT to work with Tripplite UPS through SNMP.
There is a Tripplite SmartOnline SU10KRT3/1X and attempts to monitor it
using NUT though SNMP are failing...
OS: Enterprise Linux 6, Nut version: 2.6.5.
ups.conf is configured:
[trippliteups]
driver = snmp-ups
port = 10.200.254.39
desc = "ProductionServer"
2019 Sep 24
0
[PATCH 4/6] virtio: introduce a mdev based transport
...>> +#include <linux/mdev.h>
>> +#include <linux/virtio_mdev.h>
>> +#include <linux/virtio.h>
>> +#include <linux/virtio_config.h>
>> +#include <linux/virtio_ring.h>
>> +#include "mdev_private.h"
>> +
>> +#define DRIVER_VERSION "0.1"
>> +#define DRIVER_AUTHOR "Red Hat Corporation"
>> +#define DRIVER_DESC "VIRTIO based driver for Mediated device"
>> +
>> +#define to_virtio_mdev_device(dev) \
>> + container_of(dev, struct virtio_mdev_device, vdev)
>> +...