Commit Graph

28374 Commits

Author SHA1 Message Date
ahoka f1e7eb4d21 Make this actually compile by adding a wrapper function which calls
flash_io_submit.
2011-07-01 16:46:13 +00:00
mrg 7c2e122f42 apply some (uintptr_t) between pointer and int casting. 2011-07-01 08:38:10 +00:00
matt 0a6157e048 Fix uninitialized data warning found by gcc 4.5 2011-07-01 07:45:39 +00:00
wiz 4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
hannken 117bf62eb2 Make vnd(4) work on sparse files:
- Make the strategy decision a device flag and set VNF_USE_VN_RDWR for
  files known to be sparse.
- Change handle_with_rdwr() to use POSIX_FADV_NOREUSE advise to disable
  read ahead and keep the size of mapped pages below 1 MByte.

No objections on tech-kern@.
2011-06-29 09:12:42 +00:00
matt 459e142a08 Add some inital changes for the Freescale eSDHC. 2011-06-29 06:21:16 +00:00
macallan d981780965 make the EDID buffer pointer void * 2011-06-29 05:00:06 +00:00
macallan dcc7dd1b42 make sizes unsigned 2011-06-29 04:50:32 +00:00
macallan 7ebc354766 support WSDISPLAYIO_GET_EDID 2011-06-29 03:14:36 +00:00
macallan f4441d032a declare wsdisplayio_get_edid() 2011-06-29 03:11:59 +00:00
macallan 8db9d73a65 dumping ground for generic driver convenience functions
So far it contains only a generic WSDISPLAYIO_GET_EDID implementation that
relies on EDID data being passed to drivers as a device property.
2011-06-29 03:09:37 +00:00
macallan 5058059930 add two new ioctl()s:
WSDISPLAYIO_GET_EDID to retrieve EDID data from display drivers
WSDISPLAYIO_SET_POLLING to control polling with VCONS_DRAW_INTR
2011-06-29 03:06:16 +00:00
ahoka 85c2d48387 dont define FLASH_DEBUG in header 2011-06-28 21:01:23 +00:00
ahoka df8b0211cd use proper format string 2011-06-28 20:58:00 +00:00
ahoka 0e8f635bc2 Refactor flash and nand driver, so we can reuse the io thread code
in the future nor driver (and any other future driver).

Also simplify some of the code in the process, eg. saner flash attachment.
2011-06-28 18:14:11 +00:00
sborrill 4492ea236c Regen 2011-06-28 14:58:33 +00:00
sborrill 7601ad83c0 Add Nvidia GeForce 8500 GT 2011-06-28 14:22:36 +00:00
ahoka fff8508658 adjust to nand changes 2011-06-28 10:32:45 +00:00
jruoho 9af3996adf Adjust a prototype due ACPICA 20110623. 2011-06-28 09:09:43 +00:00
ahoka 52682d394e follow bus_space conventions in naming 2011-06-28 07:16:11 +00:00
ahoka 9f1cc1c376 disable a debug printf and split it, as it's acutally two conditions 2011-06-28 07:05:19 +00:00
ahoka a148a9e65b use nosize 2011-06-28 07:00:17 +00:00
nonaka 4574f69318 regen. 2011-06-27 14:53:25 +00:00
nonaka ca0829d933 Added some JMicron PCI-E SD/MMC/MS/xD Host Contollers. 2011-06-27 14:52:44 +00:00
matt 11f078c849 When printing the interrupt string, be like the other driver and do
"alc0: interrupting at msi 1" instead of "alc: msi 1".
2011-06-23 17:42:46 +00:00
jruoho 769cd829a3 Note some long-term difficult goals. 2011-06-23 16:56:07 +00:00
ahoka de9f857863 Initial work on a NOR driver; it's commited here as is,
so I can cooperate with Cliff Neighbors on finishing it.

Not any way connected to the build.
2011-06-22 21:59:15 +00:00
jruoho 572cbf005a Regen. 2011-06-22 19:26:36 +00:00
jruoho 56a1544615 Add SMO8800. 2011-06-22 19:26:22 +00:00
matt cc137877b5 Add inline accessors for pba_pc and pa_pc so that <machine/pci_machdep.h>
can use them in inline functions.
2011-06-22 18:03:30 +00:00
jruoho 4fb79b4e25 Get rid of RUN_ONCE(9). Should fix PR # kern/44043. 2011-06-22 08:49:54 +00:00
jruoho 796e6c822e Contrary to the previous, use aprint_error(9) but suppress warnings
caused by the (optional) BIOS-based dynamic voltage and frequency scaling.
2011-06-22 08:05:10 +00:00
kiyohara d25622d743 More stride for PSIONTEKLOGIX NETBOOK PRO. 2011-06-21 15:13:34 +00:00
hannken 58698054d5 Use kthread_join() to wait for the termination of the helper thread. 2011-06-21 13:59:41 +00:00
hannken f33030999c When reading or writing the backing store us POSIX_FADV_NOREUSE access hint
to prevent read ahead.
2011-06-21 12:41:24 +00:00
hannken 19e20982bb Make sure sensor state is valid before calling sysmon_envsys_sensor_attach().
Ok: Paul Goyette <pgoyette@netbsd.org>
2011-06-21 12:38:27 +00:00
jruoho 2d98f49dfe Revert the previous commit as it was wrong/redundant. 2011-06-21 09:49:05 +00:00
jruoho b4a3a8f3ec Adjust the #ifdefs such that ccd(4) and cgd(4) show in
modstat(8) even if built into the kernel.
2011-06-21 06:23:38 +00:00
jruoho a9db528e18 Rename acpi_get_node() to acpi_match_node() for consistency. 2011-06-21 03:37:21 +00:00
pgoyette 2c629d0bbf Initialize current value for ENVSYS_DRIVE sensors 2011-06-20 22:02:55 +00:00
pgoyette 1281d34a15 Initialize battery capacity sensor value before registering. 2011-06-20 20:24:59 +00:00
pgoyette 1ad6aeb32e Initialize sensor state before registering.
XXX Still need to fix i2c/ibmhawk.c
2011-06-20 20:16:19 +00:00
pgoyette ac39d68c59 Initialize sensors states before registering. 2011-06-20 18:12:54 +00:00
pgoyette e13c3a5c83 Initialize sensor states before registering 2011-06-20 18:12:06 +00:00
pgoyette 57e6b23a48 Initializes sensors states before registering. 2011-06-20 17:48:45 +00:00
pgoyette 564fdf67d5 Initialize sensor state before registering 2011-06-20 17:31:37 +00:00
pgoyette b9603c5a8f Initialize sensors states before registering. 2011-06-20 17:29:06 +00:00
pgoyette 19cf0602df Initialize sensor state before registering. 2011-06-20 17:24:16 +00:00
pgoyette 930a8a50f3 Initialize sensors states before registering. 2011-06-20 17:21:50 +00:00
jruoho b73004759f Regen. 2011-06-20 15:56:36 +00:00