Commit Graph

29606 Commits

Author SHA1 Message Date
rkujawa
77c4799b9f Add wsdisplay ioctls and support for mmap'ing of linear frame buffer. 2012-07-29 20:31:53 +00:00
christos
39863492ce PR/46599: Onno van der Linden: Don't call bus space commands with 0 len.
Causes the sil 3112 controller to lock up.
2012-07-29 18:20:13 +00:00
mlelstv
e5129e3384 Use const nodes. Let sysctl_createv initialize sysctl_data. 2012-07-29 07:04:09 +00:00
pgoyette
fa22835bbb Replace local handling of entropy gathering with the new common code
recently introduced into sysmon_envsys(4).

Thanks to jruoho@ for testing.
2012-07-29 02:58:27 +00:00
matt
9099962388 extern is your friend. especially for variables in header files. 2012-07-28 23:06:30 +00:00
matt
695805a585 Remove tinfo_t which would have been a typedef had someone actually used
typedef but instead it become an unused common.
2012-07-28 23:04:45 +00:00
matt
1750060a5d Use (void *) instead of (type **) which gcc complains about. 2012-07-28 23:03:47 +00:00
matt
99d4e3051d Only SDHC 1.0 controllers can do that fucky MULTI_SEG stuff. 2012-07-28 23:02:57 +00:00
jakllsch
84276f0edb sdhc(4) currently only implements support for the SDHC 1.0 DMA mechanism, so
only enable in that case.
2012-07-28 20:08:51 +00:00
matt
497c94cc1d Fix comments about __bitfield. 2012-07-28 18:38:03 +00:00
hannken
b202e26bfe Minor fix to previous -- release vnode after last use, not before. 2012-07-28 16:14:17 +00:00
hannken
8f23e66316 Use `getdisksize()' to get the size of the mounted-on block device.
Should work for disks without partition table (wedges) now.
2012-07-28 15:12:42 +00:00
matt
b1afbb311c Fix -fno-common found by building i386/conf/ALL 2012-07-28 00:43:22 +00:00
matt
4dcc9e2fdc Make this compile with i386/conf/ALL 2012-07-28 00:42:47 +00:00
matt
5415192cf6 Add EG20T UART entries.
Closes PR/45567.
2012-07-27 21:51:31 +00:00
matt
34f5472e6b Regen. 2012-07-27 21:50:52 +00:00
matt
2725f8aa33 Add EG20T PCH. Closes PR/45567. 2012-07-27 21:50:32 +00:00
jakllsch
8f128a3925 Convert amr(4) to device_t (CFATTACH_DECL_NEW). 2012-07-27 16:25:11 +00:00
jakllsch
d1934bdd72 Convert twa(4) to device_t (CFATTACH_DECL_NEW). 2012-07-27 14:02:17 +00:00
kiyohara
068a6eb9af Add Marvell CESA(Cryptographic Engines and Security Accelerator) module driver.
But support only PIO-mode now.  Also AES-CBC not supported.
 Don't know how to process to AES CBC in PIO-mode. I haven't found IV registers.
2012-07-27 03:00:01 +00:00
jakllsch
102f7b2016 Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@
2012-07-26 20:49:44 +00:00
matt
c4e1f425c8 Fix a delay to a correct value. 2012-07-26 18:36:55 +00:00
matt
5440cc3372 MULTI_SEG does not for ESDHC. (Don't know how it works at all on any SDHC
but ...)
2012-07-26 18:36:09 +00:00
yamt
e574760fc9 fix request leak. 2012-07-26 10:13:33 +00:00
uwe
6e502071d7 Regen for VirtualBox ids. 2012-07-26 03:15:10 +00:00
uwe
64e8a6c032 Add VirtualBox ids. 2012-07-26 03:11:41 +00:00
matt
1d3ffa8e77 Clean up error messages.
Tidy some logic.
2012-07-25 03:07:37 +00:00
msaitoh
9d4d0a53dc regen. 2012-07-25 02:05:17 +00:00
msaitoh
d629f3051f Add some Intel devices from document (Intel 7 Series / C216 Chipset
Family Platform Controller Hub (PCH) Family Specification Update)

Modify some devices to clarify
2012-07-25 02:04:42 +00:00
jakllsch
5b9a15ee6c Revert dsl@'s changes of Sun, 15 Jul 2012 10:55:35 +0000 and
Sun, 15 Jul 2012 10:56:50 +0000, excepting the kernel version bump.
First step in reverting regressions to ata(4) subsystem during the addition of
port multiplier support.
2012-07-24 14:04:28 +00:00
jakllsch
46d3513c30 Use "<<" instead of "<" for shift-to-left. 2012-07-23 14:07:03 +00:00
matt
64c1c6e064 Responses are actually in host order (except SCR which is return in
big endian so that's convert to host order).
2012-07-23 13:32:19 +00:00
matt
adccf9739d Add fec (arm) and mdio (powerpc) 2012-07-23 13:05:48 +00:00
msaitoh
777a6502dc regen. 2012-07-23 07:47:40 +00:00
msaitoh
af0f4fa6d2 Add some ATI and SIS devices.
Fixes PR#39580
2012-07-23 07:47:14 +00:00
kiyohara
52b45b8c4d Support Kirkwoods. Kirkwoods has 4ch for XORE and not has IDMAC. tested on OpenBlockS A6 with ch0 only. 2012-07-23 06:09:47 +00:00
msaitoh
b9bc57065e Add some Intel 7 series devices. 2012-07-23 03:32:30 +00:00
matt
24240d720e Make it match AR8035 2012-07-23 00:09:49 +00:00
jakllsch
217ea076e5 It turns out my previous commit here was off by one. 2012-07-22 19:07:33 +00:00
jakllsch
dc6a13a152 FLUSH CACHE EXT is a 48-bit command, issue as such. Both FLUSH CACHE commands
will return the LBA of first failure in the return task file, specifiy that we
want it read, even if we don't look at the value.
2012-07-22 18:42:11 +00:00
jakllsch
4c0d1d5807 ATA-6 and ACS-2 drafts both say the flush cache commands may take longer than
30 seconds to complete.  For now assume 5 minutes will always be enough.
2012-07-22 18:37:31 +00:00
jakllsch
e6706273af Port multiplier registers are 64-bits wide (although the ones we need only
implement 32-bits).  Implement the access routines using 64-bit values and add
32-bit wrappers thereto.
2012-07-22 18:21:17 +00:00
jakllsch
78a12c25c2 The vendor and product IDs are 16-bit, print out as such. 2012-07-22 18:17:30 +00:00
jakllsch
935da2146f Correctly issue port multiplier register access commands as LBA48 now that the
FIS code doesn't get in the way of doing that.
2012-07-22 18:12:01 +00:00
jakllsch
c2b3a5ec40 KASSERT if we attempt to access an invalid port.
Also, small whitespace change for internal consistency.
2012-07-22 18:03:34 +00:00
jakllsch
be34f7e01d SATA uses the head portion of the device register in the command protocol for
port multiplier register access.  Thus, in the LBA48 case, pass the complete
r(hd|dh)_dh byte back and forth to the upper layers.  (This is irrelevant in
the LBA28/CHS code path for what should be obvious reasons.)
2012-07-22 17:57:57 +00:00
matt
05305b42f7 Regen. 2012-07-22 14:37:34 +00:00
matt
c68c1f6de5 Add more FREESCALE devices
Fix RICOH RU5230 description
2012-07-22 14:36:44 +00:00
matt
0bc3200029 Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes
problem with a common MDIO bus used for multiple interfaces.
Some drivers converted to CFATTACL_DECL_NEW.
2012-07-22 14:32:49 +00:00
skrll
0c3c3bcfc7 Provide a method for attachments to specify capabilites. 2012-07-21 16:14:05 +00:00