| /illumos-gate/usr/src/uts/sparc/ml/ |
| H A D | fd_asm.S | 42 * reconfigure time on systems that do not support the fast interrupt 59 save %sp, -SA(MINFRAME), %sp 74 tst Tmp2 ! non-zero? 101 ! read/write/format data-xfer case - they have a result phase 106 ! XXX- test for null raddr 138 ! END OF TRANSFER - if read/write, toggle the TC 188 ! recalibrate/seek - no result phase, must do sense interrupt status. 211 ! fdc->c_csb.csb_rslt[0] = *fifo; 220 ! fdc->c_csb.csb_rslt[1] = *fifo; 227 ! We are in result mode make sure all status bytes are read out [all …]
|
| /illumos-gate/usr/src/uts/sun/sys/scsi/adapters/ |
| H A D | fasreg.h | 23 * Copyright (c) 1996-1998 by Sun Microsystems, Inc. 44 * That is, the FAS registers are always byte-wide, but are 45 * accessed longwords apart. Notice also that the byte-ordering 46 * is big-endian. 96 uint8_t fas_conf2; /* FAS-II configuration register */ 100 uint8_t fas_conf3; /* FAS-III configuration register */ 105 #define fas_id_code fas_recmd_lo /* R: part-unique id code */ 166 * FAS fifo register definitions (read only) 169 #define MAX_FIFO_FLAG (FIFOSIZE-1) 174 * FAS status register definitions (read only) [all …]
|
| /illumos-gate/usr/src/man/man4d/ |
| H A D | ecpp.4d | 8 ecpp \- IEEE 1284 compliant parallel port driver 21 ecpp@unit-address 25 The \fBecpp\fR driver provides a bi-directional interface to \fIIEEE 1284\fR 26 compliant devices as well as a forward single-directional interface to 46 The \fBecpp\fR driver is an \fIexclusive-use\fR device, meaning that if the 72 described in \fB/kernel/drv/ecpp.conf\fR. These variables are read by the 74 file and invoke \fBupdate_drv\fR(8) to have the kernel read the file again. 78 will not operate with the parallel port operating in a fast handshaking mode. 79 If printing problems occur, set "fast-centronics" and "fast-1284-compatible" to 81 .SS "Read/Write Operation" [all …]
|
| H A D | rge.4d | 8 rge \- Realtek Gigabit/Fast Ethernet Network Adapter driver 18 The \fBrge\fR Gigabit/Fast Ethernet driver is a multi-threaded, loadable, 19 clonable, GLD-based STREAMS driver supporting the Data Link Provider 20 Interface, \fBdlpi\fR(4P), on the Realtek Gigabit/Fast Ethernet Network 30 The cloning, character-special device \fB/dev/rge\fR is used to access all 31 Realtek Gigabit/Fast Ethernet devices installed within the system. 69 \fBSAP\fR length value is -2, meaning the physical address component is 70 followed immediately by a 2-byte sap component within the DLSAP address. 86 By default, the \fBrge\fR driver performs auto-negotiation to select the link 92 1000 Mbps, full-duplex [all …]
|
| H A D | hme.4d | 8 hme \- SUNW,hme Fast-Ethernet device driver 18 The \fBSUNW,hme\fR Fast-Ethernet driver is a multi-threaded, loadable, 20 Provider Interface, \fBdlpi\fR(4P), over a \fBSUNW,hme\fR Fast-Ethernet 21 controller. The motherboard and add-in SBus \fBSUNW,hme\fR controllers of 30 provides 100Base-TX networking interfaces using SUN's \fBFEPS ASIC\fR and an 33 Transceiver which connects to a \fBRJ-45\fR connector. In addition to the RJ-45 37 may use any physical media (copper or fiber) specified in the 100Base-TX 42 The 100Base-TX standard specifies an "auto-negotiation" protocol to 44 is capable of doing "auto-negotiation" with the remote-end of the link (Link 47 also supports \fBforced-mode\fR of operation where the driver can select the [all …]
|
| /illumos-gate/usr/src/uts/i86pc/os/ |
| H A D | fastboot.c | 27 * This file contains the functions for performing Fast Reboot -- a 34 * kernel and boot archive to be passed to the fast reboot switcher 50 * that the system is capable of fast reboot. It jumps to the fast reboot 107 * Data structure containing necessary information for the fast reboot 119 /* Index into Fast Reboot not supported message array */ 122 /* Fast Reboot not supported message array */ 137 * Reserve memory below PA 1G in preparation of fast reboot. 160 * Minimum system uptime in clock_t before Fast Reboot should be used 234 #define BOOTARCHIVE32_FAILSAFE "/boot/x86.miniroot-safe" 235 #define BOOTARCHIVE64_FAILSAFE "/boot/amd64/x86.miniroot-safe" [all …]
|
| /illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/hsi_repository/ |
| H A D | ecore_hsi_debug_tools.h | 9 * or http://opensource.org/licenses/CDDL-1.0. 23 * Copyright 2014-2017 Cavium, Inc. 30 * at http://opensource.org/licenses/CDDL-1.0 268 * Attention block per-type data 284 …struct dbg_attn_block_type_data per_type_data[2] /* attention block per-type data. Count must matc… 298 …ntions within the blocks attentions list (a value in the range 0..number of block attentions-1) */; 300 __le32 sts_val /* Value read from the STS attention register */; 301 __le32 mask_val /* Value read from the MASK attention register */; 339 …ntions within the blocks attentions list (a value in the range 0..number of block attentions-1) */; 390 #define DBG_BUS_LINE_NUM_OF_GROUPS_MASK 0xF /* Number of groups in the line (0-3) */ [all …]
|
| /illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
| H A D | ecore_hsi_debug_tools.h | 9 * or http://opensource.org/licenses/CDDL-1.0. 23 * Copyright 2014-2017 Cavium, Inc. 30 * at http://opensource.org/licenses/CDDL-1.0 268 * Attention block per-type data 284 …struct dbg_attn_block_type_data per_type_data[2] /* attention block per-type data. Count must matc… 298 …ntions within the blocks attentions list (a value in the range 0..number of block attentions-1) */; 300 __le32 sts_val /* Value read from the STS attention register */; 301 __le32 mask_val /* Value read from the MASK attention register */; 339 …ntions within the blocks attentions list (a value in the range 0..number of block attentions-1) */; 390 #define DBG_BUS_LINE_NUM_OF_GROUPS_MASK 0xF /* Number of groups in the line (0-3) */ [all …]
|
| /illumos-gate/usr/src/uts/common/fs/fifofs/ |
| H A D | fifovnops.c | 38 * type supports STREAMS-based pipes and FIFOs. 160 * writing via cross-zone named pipes. A privileged global 162 * it from a lower-level zone to a higher-level zone. The 163 * kernel-enforced mount policy for lofs mounts ensures 164 * that such mounts are read-only in the higher-level 171 * the named pipe can be opened for read by a process in a 184 (!(fnp->fn_flag & ISPIPE))) { in tsol_fifo_access() 228 fifolock_t *fn_lock = fnp->fn_lock; in fifo_open() 231 ASSERT(vp->v_type == VFIFO); in fifo_open() 237 mutex_enter(&fn_lock->flk_lock); in fifo_open() [all …]
|
| /illumos-gate/usr/src/cmd/lp/lib/filters/ |
| H A D | loadfilters.c | 50 ** loadfilters() - READ FILTERS FROM FILTER TABLE INTO INTERNAL STRUCTURE 69 return (-1); in loadfilters() 73 * Our guess is the number of filters previously read in, in loadfilters() 74 * if any have been read in before (see above). in loadfilters() 80 return (-1); in loadfilters() 85 getfields(fd, filt, buf, sizeof(buf), FL_MAX, FL_SEP) != -1; in loadfilters() 103 return (-1); in loadfilters() 105 pf = &filters[nfilters - 1]; in loadfilters() 110 pf->name = Strdup(filt[FL_NAME]); in loadfilters() 111 pf->type = s_to_filtertype(filt[FL_TYPE]); in loadfilters() [all …]
|
| /illumos-gate/usr/src/uts/sun4u/cpu/ |
| H A D | us3_common_asm.S | 116 ldxa [arg2]ASI_DC_TAG, tmp2 /* read tag */ ;\ 118 bz,pn %icc, 5f /* br if no valid sub-blocks */ ;\ 219 ldub [%o1 + SFMMU_CEXT], %o4 ! %o4 = sfmmup->sfmmu_cext 259 * x-trap to flush page from tlb and tsb 261 * %g1 = vaddr, zero-extended on 32-bit kernel 285 ldub [%g2 + SFMMU_CEXT], %g4 ! %g4 = sfmmup->cext 304 * x-trap to flush pgcnt MMU_PAGESIZE pages from tlb 306 * %g1 = vaddr, zero-extended on 32-bit kernel 307 * %g2 = <sfmmup58|pgcnt6>, (pgcnt - 1) is pass'ed in via pgcnt6 bits. 318 and %g4, %g2, %g3 /* g3 = pgcnt - 1 */ [all …]
|
| /illumos-gate/usr/src/cmd/csh/ |
| H A D | sh.c | 37 tchar *dumphist[] = { S_history /* "history" */, S_h /* "-h" */, 0, 0 }; 38 tchar *loadhist[] = { S_source /* "source" */, S_h /* "-h" */, 47 bool fast; variable 149 #if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */ in main() 167 loginsh = **v == '-'; in main() 201 fast++; /* No home -> can't read scripts */ in main() 203 if (strlen_(cp) >= BUFSIZ - 10) { in main() 205 fast++; in main() 226 set(S_user, strtots((tchar *)0, pw->pw_name)); in main() 227 local_setenv(S_USER, strtots((tchar *)0, pw->pw_name)); in main() [all …]
|
| /illumos-gate/usr/src/grub/grub-0.97/netboot/ |
| H A D | sis900.c | 1 /* -*- Mode:C; c-basic-offset:4; -*- */ 4 sis900.c: An SiS 900/7016 PCI Fast Ethernet driver for Etherboot 12 and modified by Ollie Lho and Chin-Shan Li of SiS Corporation. 19 SiS 7016 Fast Ethernet PCI Bus 10/100 Mbps LAN Controller with OnNow Support, 21 SiS 900 Fast Ethernet PCI Bus 10/100 Mbps LAN Single Chip with OnNow Support, 23 SiS 7014 Single Chip 100BASE-TX/10BASE-T Physical Layer Solution, 30 07 Dec 2003 timlegge - Enabled Multicast Support 31 06 Dec 2003 timlegge - Fixed relocation issue in 5.2 32 04 Jan 2002 Chien-Yu Chen, Doug Ambrisko, Marty Connor Patch to Etherboot 5.0.5 75 { "SiS 900 PCI Fast Ethernet", PCI_VENDOR_ID_SIS, PCI_DEVICE_ID_SIS900, [all …]
|
| /illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
| H A D | emlxs_config.h | 23 * Copyright (c) 2004-2012 Emulex. All rights reserved. 51 CFG_CONSOLE_NOTICES, /* console-notices */ 52 CFG_CONSOLE_WARNINGS, /* console-warnings */ 53 CFG_CONSOLE_ERRORS, /* console-errors */ 54 CFG_CONSOLE_DEBUGS, /* console-debugs (hidden) */ 55 CFG_LOG_NOTICES, /* log-notices */ 56 CFG_LOG_WARNINGS, /* log-warnings */ 57 CFG_LOG_ERRORS, /* log-errors */ 58 CFG_LOG_DEBUGS, /* log-debugs (hidden) */ 59 CFG_NUM_IOCBS, /* num-iocbs */ [all …]
|
| /illumos-gate/usr/src/cmd/vi/port/ |
| H A D | ex_vget.c | 60 int c; /* char --> int */ in getkey() 125 if (inopen == -1) /* don't mess up undo for esc esc */ in getbr() 132 if ((c=read(slevel == 0 ? 0 : ttyindes, &ch, 1)) != 1) { in getbr() 138 error(gettext("Input read error")); in getbr() 142 if (read(0, &Peek2key, 1) != 1) in getbr() 149 case 'q': /* f2 -> ^C */ in getbr() 153 case 'p': /* f1 -> esc */ in getbr() 255 * Read a line from the echo area, with single character prompt c. 457 * Note a change affecting a lot of lines, or non-visible 529 * one of these strings very fast. [all …]
|
| /illumos-gate/usr/src/cmd/lp/filter/postscript/ |
| H A D | README | 35 By setting ENCODING to 2 I've selected the fast, but not thoroughly tested method 38 that produces output essentially identical to earlier versions. The -R, -B, and 39 -q options usually result in better performance from postio. Take a look at the 83 ---------------------- 90 ENCODING - An integer (0, 1, 2 or 3) that sets the default text encoding 95 schemes based on widthshow. Both are fast, perhaps 20% faster 99 the -e option. Setting ENCODING to 2 may be worth a try. 101 ROOT - A string that's prepended to all the installation directories 105 BINDIR - Where programs, like dpost and postprint, are installed. You may 109 FONTDIR - Where the binary font files go. Should be set to troff's font [all …]
|
| /illumos-gate/usr/src/lib/libscf/common/ |
| H A D | highlevel.c | 74 * If we can't read system info, assume it's blacklisted. in scf_is_fb_blacklisted() 83 * If we can't read the "platforms" property from property group in scf_is_fb_blacklisted() 158 * Get config properties from svc:/system/boot-config:default. 182 for (prop = ua_boot_config; prop->pv_prop != NULL; prop++) in scf_get_boot_config() 183 prop->pv_ptr = &ret; in scf_get_boot_config() 203 BOOT_CONFIG_PG_PARAMS, prop->pv_prop); in scf_get_boot_config() 205 (void) uu_warn("Unable to read service %s " in scf_get_boot_config() 214 * Get or set properties in non-persistent "config_ovr" property group 215 * in svc:/system/boot-config:default. 256 for (prop = ua_boot_config_ovr; prop->pv_prop != NULL; prop++) in scf_getset_boot_config_ovr() [all …]
|
| /illumos-gate/usr/src/man/man4p/ |
| H A D | sctp.4p | 8 sctp, SCTP \- Stream Control Transmission Protocol 38 flow-controlled, two-way transmission of data. It is a message- oriented 42 between two endpoints using a four-way handshake mechanism with the use of a 48 Included in the common header is a 32-bit field which contains the checksum 49 (computed using CRC-32c polynomial) of the entire SCTP packet. 57 cumulative TSN range received, but also non-cumulative TSNs received, implying 62 control follow TCP algorithms: Slow Start, Congestion Avoidance, Fast Recovery 63 and Fast retransmit. But unlike TCP, SCTP does not support half-close 68 telephony signalling transport, including multi-streaming. SCTP allows data to 79 SCTP uses IP's host level addressing and adds its own per-host collection of [all …]
|
| /illumos-gate/usr/src/uts/common/fs/zfs/ |
| H A D | dmu_zfetch.c | 95 zfetch_ksp->ks_data = &zfetch_stats; in zfetch_init() 119 zf->zf_dnode = dno; in dmu_zfetch_init() 120 zf->zf_numstreams = 0; in dmu_zfetch_init() 122 list_create(&zf->zf_stream, sizeof (zstream_t), in dmu_zfetch_init() 125 rw_init(&zf->zf_rwlock, NULL, RW_DEFAULT, NULL); in dmu_zfetch_init() 131 mutex_destroy(&zs->zs_lock); in dmu_zfetch_stream_fini() 132 zfs_refcount_destroy(&zs->zs_blocks); in dmu_zfetch_stream_fini() 139 ASSERT(RW_WRITE_HELD(&zf->zf_rwlock)); in dmu_zfetch_stream_remove() 140 list_remove(&zf->zf_stream, zs); in dmu_zfetch_stream_remove() 142 zf->zf_numstreams--; in dmu_zfetch_stream_remove() [all …]
|
| /illumos-gate/usr/src/uts/i86pc/ml/ |
| H A D | locore.S | 64 * - We are running in protected-paged mode. 65 * - Interrupts are disabled. 66 * - The GDT and IDT are the callers; we need our copies. 67 * - The kernel's text, initialized data and bss are mapped. 70 * - Save arguments 71 * - Initialize our stack pointer to the thread 0 stack (t0stack) 73 * - Our GDT and IDT need to get munged. 74 * - Since we are using the boot's GDT descriptors, we need 76 * - We start using our GDT by loading correct values in the 79 * - The default LDT entry for syscall is set. [all …]
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/ |
| H A D | fcal_leds.c | 28 * This plugin checks the status of FC-AL disks periodically and 29 * in response to PICL events. It adjusts the state of the FC-AL LEDs 147 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) == -1) in open_config() 159 * read volatile property function for led State 165 picl_nodehdl_t nodeh = parg->nodeh; in read_led_state() 175 * each led-unit node has a UnitAddress property set to the bit in read_led_state() 176 * value associated with the led. Read that property in read_led_state() 182 valbuf[sizeof (valbuf) - 1] = '\0'; /* ensure null terminated */ in read_led_state() 190 for (disk = 0; disk < dtls->n_disks; disk++) { in read_led_state() 192 if (addr == dtls->led_addr[led][disk]) in read_led_state() [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
| H A D | sfgetd.c | 4 * Copyright (c) 1985-2011 AT&T Intellectual Property * 10 * http://www.eclipse.org/org/documents/epl-v10.html * 24 /* Read a portably coded double value 26 ** Written by Kiem-Phong Vo 41 SFMTXENTER(f,-1.); 44 SFMTXRETURN(f, -1.); 46 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0) 47 SFMTXRETURN(f, -1.); 53 { /* fast read for data */ 55 { f->flags |= SF_ERROR; [all …]
|
| /illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
| H A D | copyf.c | 62 * each mapping request has an additional 16Kb added to it - mappings over 63 * 4Mb will be rounded to a 4Mb boundary - thus if there were 8mb, adding 64 * in the 16Kb overhead the mapping would use another 4Mb-16kb - that is 68 #define MAXMAPSIZE (1024*1024*8)-(1024*16) /* map at most 8MB */ 73 * Description: fast copy of file - use mmap()/write() loop if possible 74 * Arguments: char *srcPath - name of source file to copy from 75 * char *dstPath - name of target file to copy to 77 * == 0 - replicate source file access/modification times 78 * != 0 - use specified time for access/modification times 80 * == 0 - successful [all …]
|
| /illumos-gate/usr/src/tools/cscope-fast/ |
| H A D | logdir.c | 67 if ((pwf = open("/etc/passwd", O_RDONLY)) == -1) in logdir() 73 i = read(pwf, line, BUFSIZ); in logdir() 77 /* return a null pointer if the whole file has been read */ in logdir() 82 (void) lseek(pwf, (long)(j - i), 1); in logdir() 84 } while (*name != *line || /* fast pretest */ in logdir()
|
| /illumos-gate/usr/src/lib/libcurses/screen/ |
| H A D | tgetch.c | 30 * University Copyright- Copyright (c) 1982, 1986, 1988 34 * University Acknowledgment- Portions of this document are derived from 52 * Read a key typed from the terminal 54 * interpret: = 0 for single-char key only 56 * = 2 same as 1 but no time-out for funckey matching. 69 chtype *inputQ = cur_term->_input_queue; in tgetch() 70 char *chars_onQ = &(cur_term->_chars_on_queue); in tgetch() 78 * will be non-destructive. in tgetch() 80 cur_term->fl_typeahdok = TRUE; in tgetch() 84 if (cur_term->_ungotten > 0) { in tgetch() [all …]
|