Print this page
NEX-17521 Unable to install Nexentastor on Lenovo SR650 platform
8702 PCI addresses with physaddr > 0xffffffff can't be mapped in
8703 pci/npe DDI_CTLOPS_REGSIZE should be 64-bit aware
8704 want OFF_MAX in the kernel
8705 unsupported 64-bit prefetch memory on pci-pci bridge
Contributed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Albert Lee <trisk@forkgnu.org>
9550 Create hub symlinks for xhci devices
Contributed by: Alexander Pyhalov <apyhalov@gmail.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
NEX-15925 pseudonex, rootnex, and friends don't need to log useless device announcements
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-5164 backport illumos 6514 AS_* lock macros simplification
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
6514 AS_* lock macros simplification
Reviewed by: Piotr Jasiukajtis <estibi@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Albert Lee <trisk@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>

*** 16,30 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. */ /* ! * Copyright 2011 Nexenta Systems, Inc. All rights reserved. * Copyright (c) 2011 Bayard G. Bell. All rights reserved. * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. * Copyright 2017 Joyent, Inc. */ --- 16,32 ---- * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ + /* * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. */ + /* ! * Copyright 2018 Nexenta Systems, Inc. * Copyright (c) 2011 Bayard G. Bell. All rights reserved. * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. * Copyright 2017 Joyent, Inc. */
*** 730,808 **** *size = (off_t)pdp->par_reg[n].regspec_size; } return (DDI_SUCCESS); } ! ! /* ! * rootnex_ctl_reportdev() ! * ! */ static int rootnex_ctl_reportdev(dev_info_t *dev) { - int i, n, len, f_len = 0; - char *buf; - - buf = kmem_alloc(REPORTDEV_BUFSIZE, KM_SLEEP); - f_len += snprintf(buf, REPORTDEV_BUFSIZE, - "%s%d at root", ddi_driver_name(dev), ddi_get_instance(dev)); - len = strlen(buf); - - for (i = 0; i < sparc_pd_getnreg(dev); i++) { - - struct regspec *rp = sparc_pd_getreg(dev, i); - - if (i == 0) - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - ": "); - else - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - " and "); - len = strlen(buf); - - switch (rp->regspec_bustype) { - - case BTEISA: - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - "%s 0x%x", DEVI_EISA_NEXNAME, rp->regspec_addr); - break; - - case BTISA: - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - "%s 0x%x", DEVI_ISA_NEXNAME, rp->regspec_addr); - break; - - default: - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - "space %x offset %x", - rp->regspec_bustype, rp->regspec_addr); - break; - } - len = strlen(buf); - } - for (i = 0, n = sparc_pd_getnintr(dev); i < n; i++) { - int pri; - - if (i != 0) { - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - ","); - len = strlen(buf); - } - pri = INT_IPL(sparc_pd_getintr(dev, i)->intrspec_pri); - f_len += snprintf(buf + len, REPORTDEV_BUFSIZE - len, - " sparc ipl %d", pri); - len = strlen(buf); - } - #ifdef DEBUG - if (f_len + 1 >= REPORTDEV_BUFSIZE) { - cmn_err(CE_NOTE, "next message is truncated: " - "printed length 1024, real length %d", f_len); - } - #endif /* DEBUG */ - cmn_err(CE_CONT, "?%s\n", buf); - kmem_free(buf, REPORTDEV_BUFSIZE); return (DDI_SUCCESS); } /* --- 732,745 ---- *size = (off_t)pdp->par_reg[n].regspec_size; } return (DDI_SUCCESS); } ! /*ARGSUSED*/ static int rootnex_ctl_reportdev(dev_info_t *dev) { return (DDI_SUCCESS); } /*