summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2018-03-02 Add Apollo Lake and Gemini Lake devices.msaitoh
2018-03-02Regen.msaitoh
2018-03-02 Add Intel Gemini Lake devices.msaitoh
2018-03-02Rename the i2c attribute i2cbus, and add the MI iic device.pgoyette
Note that the iic device source files are named i2c* Also note that iic attaches at i2cbus
2018-03-02Since acorn26 has been retired, release all acorn26-speceific devicepgoyette
name entries.
2018-03-01Follow previous entries, and list the imc and imcsmb devices twice,pgoyette
once each for amd64 and i386
2018-03-01Limit building & calling ACPI MCFG to kernels with PCI and ACPI.maya
pci_quirks.c requires pci acpi_mcfg.c was recently changed to use pci_quirks.c functions. as a result, ia64 kernels with acpi but no pci failed to link. tested an ia64 and amd64 kernels build.
2018-03-01Use 1-byte data-buffers when writing to the "control" device for thepgoyette
SPD ROMs (we do this for page-selection). The imcsmb doesn't support zero-byte transfers. With this, I'm able to get the data for all 8 of my DIMMs (on two different imcsmb busses) using the spdmem(4) driver. And the data decodes correctly using the decode-dimms utility (from the linux i2ctools).
2018-03-01The imc and imcsmb drivers have moved to x86-specific directorypgoyette
2018-03-01Use imc and imcsmb for the new x86 device names. Now that they'repgoyette
defined in the architecture-specific files.x86 they won't conflict with the sgimips imc device.
2018-03-01Move the imc and imcsmb stuff out of general files.pci and into thepgoyette
architecture-specific files.x86 Should unbreak the sgimips build.
2018-03-01Note that we're now using iimc and iimcsmbpgoyette
XXX Existing recently-added imc and imcsmb drivers for x86_64 and i386 XXX will be renamed appropriately.
2018-03-01 Do wm_reset_mdicnfg_82580() on 82580 only.msaitoh
2018-03-01- Fix a bug that wm_pll_workaround_i210() is not called on some cases.msaitoh
As I wrote in if_wm.c rev 1.329's commit message, There are three cases: a) Chip is I211 b) Chip is I210 and it uses INVM (not FLASH) c) Chip is I210 (it uses FLASH) and NVM image version < 3.25 Before this commit, the workaround function was not called on a) and b). - Rename function.
2018-02-28add workaround for PHY detection on Apple K2 GMACmacallan
adapted from openbsd
2018-02-28Teach the ichsmb(4) driver how to detach.pgoyette
2018-02-28Cosmetic printf/aprint changes.flxd
Add missing return statement after failed pci_intr_establish().
2018-02-28Cosmetic fix for the Physical Address Registers PAR0 to PAR5.flxd
2018-02-28Remove exgtra / in the $NetBSD$ line. Thanks to leot@ for spotting it!pgoyette
2018-02-28Remove extra */ from comment - fix buildpgoyette
2018-02-28Remove extra blank linepgoyette
2018-02-28Add RCSID and short title/synopsispgoyette
2018-02-28- Add new PCI quirk PCI_QUIRK_HASEXTCNF and PCI_QUIRK_NOEXTCNF. Some devices'msaitoh
extended configuration area may be broken or violate spec. If an extended configuration space is strange but it really exist, use PCI_QUIRK_HASEXTCNF. If an extended configuration space is plausible to exist but it really doesn't exist, use PCI_QUIRK_NOEXTCNF. - Add PCI_PRODUCT_INTEL_XEOND_MEM_0_TTR_1(0x6fa8) and PCI_PRODUCT_INTEL_COREI76K_IMC_0(0x6f68) with PCI_QUIRK_HASEXTCNF. The document clearly states they violate spec and it support the extended configuration space.
2018-02-27Remove extraneous space from $NetBSD$ tagpgoyette
2018-02-27Remove the Econet code. It was part of acorn26, which was removed amaxv
month ago.
2018-02-27- don't leak ccb on alloc failure.christos
- KASSERT to prevent memory leak.
2018-02-27Detach our children before allowing ourselves to detach.pgoyette
2018-02-27Fix total timeout amount - since we decrement by 10 every 10 usec, wepgoyette
need 35000 usec to equal 35ms.
2018-02-27Fix another case of 7-bit right-justified addressing, without write-bitpgoyette
2018-02-27Use I2C_READ_OP_P() rather than negating I2C_WRITE_OP_P()pgoyette
2018-02-27Change a couple of aprint messages to aprint_debug-onlypgoyette
2018-02-27KNF - remove space between cast and variablepgoyette
2018-02-27For byte-writes we only load an 8-bit quantitypgoyette
2018-02-27Our i2c addresses are right-justified 7-bit; we don't shift leftpgoyette
for the "write" bit
2018-02-27The controller only supports 1-byte "commands"pgoyette
2018-02-27 Add hw.ixvM.q[01].{interrupt_rate,[tr]xd_head,[tr]xd_tail} sysctls as ixg(4).msaitoh
2018-02-27Add dependency on iic module to get access to iicbus_print()pgoyette
2018-02-26Remove support for macofcons(4), it's not actually possible to build a kernelsevan
with it enabled - See PR port-macppc/53004 and it may have further problems even so. From <macallan>: "There is some early console code that uses OF output but it causes problems when we get close to MMU setup - I think it can go, it hasn't been enabled in any config in at least a decade as far as I know."
2018-02-26Better device identification during configuration/attachpgoyette
2018-02-26Apply ixgbe.c:r1.127 to ixv.c. Pointed out by msaitoh@n.o.knakahara
2018-02-26Modularize the ichsmb(4) driver. No functional changes.pgoyette
2018-02-26For non-modular driver, don't set return status for the default case.pgoyette
2018-02-26Identify the device that wsa just attached. Avoids getting strangepgoyette
message sequence similar to imcsmb0 at imc0iic at imcsmb0 not configured Also, while here, revert to the original FreeBSD wait-for-device-to- settle code by waiting for 4 intervals of 10ms each, rather than 40 intervals of 1ms.
2018-02-26Change the "Child not added" message from normal to debugpgoyette
2018-02-26Remove unneeded imc_print() routinepgoyette
2018-02-26Search for child devices using the i2cbus attributepgoyette
2018-02-26Fix poll mode assumption breaking.knakahara
ixgbe_{enable,disable}_intr() forcibly enable/disable all interrupts regardless of current state. That can break poll mode assumption, that is, queue interrupts must not occur while polling Tx/Rx rings. E.g. "ifconfig ixg0 delete && ifconfig ixg0 192.168.0.1" on heavy load traffic can causes this issue. This fix may have 1% or 2% performance impact at short packets. XXX ixgbe_rearm_queues() which is called only via watchdog can also break this poll mode assumption because writing EICS casues interrupts immediately when interrupt auto mask enabled. We will fix it with other issues about watchdog later. ok by msaitoh@n.o.
2018-02-25Import imcsmb driver from FreeBSD. This driver allows access to thepgoyette
SMBus controllers which are part of the integrated memory controllers on certain modern Intel CPUs. These SMBus are attached only to the memory DIMMs, so we provide only a minimum amount of functionality. Deliberately not included in GENERIC, as on some motherboards there can be conflicting access between the driver and the motherboard. The motherboards generally will provide a mechanism to synchronize access, but the methods are likely proprietary; the driver provides a place for inserting user-provided synchronization.
2018-02-24Regen.mlelstv
2018-02-24Add AMD KERNCZ chipset for Zen processors.mlelstv