Commit Graph

20051 Commits

Author SHA1 Message Date
drochner 8390dd2605 update for accessops change (get/serborder removed) 2006-04-05 15:23:06 +00:00
drochner cd401662a8 Move the ga_getborder()/vga_setborder() calls from accessops to the
ioctl handler.
Also fix error reporting for the vga_getborder() call.
2006-04-05 15:19:54 +00:00
drochner 5b4dd527c3 Use the existing ioctl path to call WSDISPLAYIO_GBORDER/WSDISPLAYIO_SBORDER
instead of a separate accessops entry. There is no need to introduce bloat
for the majority of drivers which don't implement this feature.
This should also resolve PR kern/33186 by Valeriy E. Ushakov.
2006-04-05 15:18:25 +00:00
cherry 45a06839c0 Backing out previous commit for more review. 2006-04-05 02:40:57 +00:00
uwe ccf4b50a2c KNF: no parentheses around return value. 2006-04-05 01:13:50 +00:00
uwe a31a2f7d75 ANSI'ify. 2006-04-05 01:05:50 +00:00
uwe 0eaa91ef03 Add dc_stride member to igsfb_devconfig.
Eliminate all mentions of rasops_info from igsfb_ioctl(), we have all
the information in igsfb_devconfig now.  It's semantically correct to
serve that info from there, not from a cached copy in rasops_info.
2006-04-04 23:43:40 +00:00
uwe 771831be53 Use bus_space_vaddr() to get the address of the framebuffer. 2006-04-04 23:00:15 +00:00
uwe fc2595db94 Use designated initializers for wsscreen structs. It takes less space
and is easier to read.  While here, update function name in comment.
2006-04-04 22:36:15 +00:00
uwe 3995a3168e Nuke delay() that sneaked in with one of old revisions. It's not
necessary.

When we attach as console on netwinder, the timer is not yet attached,
so delay() resorts to a busy loop.  That loop takes BIGNUM seconds(!)
to complete.  That makes you think the machine wedged.
2006-04-04 22:25:23 +00:00
riz 99cd9e5be7 Correct a couple of typos in comments ("Hook info" -> "Hook into",
"prescision"->"precision")
2006-04-04 19:38:38 +00:00
cherry fb6529c627 Sleeps hard disk just before system shutdown.
Some hardware (eg: Apple iBooks) don't do this automatically
and the harddisk behaves as if the power plug were pulled.

Closes PR: kern/32766
2006-04-04 07:11:45 +00:00
uwe 752f872bf4 Fix indentation nits. 2006-04-03 21:18:20 +00:00
uwe d5925f5050 Honor RI_FULLCLEAR in igsfb_accel_eraserows. 2006-04-03 21:03:15 +00:00
uwe 774263e48a Properly fix cursor sprite endianness problems: always build
cc_sprite[] in little-endian, as that's how the card wants it.

Tested on netwinder (hardware bswap) by myself, and on current krups
kernel (no bswap) and 3.0 krups kernel (software bswap) by macallan.
2006-04-03 20:44:35 +00:00
scw aefe7288c0 Add utoppy* at uhub? 2006-04-03 08:53:22 +00:00
scw 34b4a96dbb Add a kernel driver and userland program for the Topfield TF5000PVR range
of digital video recorders popular in Europe and Australia.

These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.
2006-04-03 08:15:48 +00:00
scw 842f766ad5 Regen. 2006-04-03 07:15:01 +00:00
scw 310e551bbb Add vendor id for Topfield Co., Ltd.
Add product id for the TF5000PR range of digital video recorders.
2006-04-03 07:14:03 +00:00
gdamore 9a2b9dd63b Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD.  According
to sam@, this is the proper version we should be using.
2006-04-02 05:52:14 +00:00
christos 89bc0d7869 Greek console keymap from Eye of the Beholder 2006-04-01 23:02:32 +00:00
thorpej c8dd740fd0 Use ANSI function decls, apply static. 2006-03-31 17:39:33 +00:00
christos c7ffec83be Only do the software reset if we are dying, like we do in ohci and ehci.
Pointed out by SAITOH Masanobu
2006-03-31 17:31:13 +00:00
rpaulo 17b738113a regen 2006-03-31 09:40:58 +00:00
rpaulo e04240018f regen 2006-03-31 08:43:07 +00:00
rpaulo b4142a7b0e PR 33173: Add Dell TrueMobile 350 Bluetooth USB Adapter. From Jason White. 2006-03-31 08:41:56 +00:00
he 4fd5d495b6 Correct typo. 2006-03-31 07:34:31 +00:00
rittera a21b75e520 Removed the #include of ndis_driver_data.h, and replaced it with NDIS_DRV_DATA,
so that the location of the ndis_driver_data.h file which is built from
the Windows driver's .inf and .sys files using the ndiscvt utility can be
specified from the kernel configuration file.
2006-03-31 03:20:20 +00:00
rittera ace2baad8b Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel.  I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental.  It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100
2006-03-31 00:03:57 +00:00
rittera 5197fd087b applied iMil's patch 2006-03-30 23:07:37 +00:00
rittera 35ff82777b Added the original FreeBSD_54 files from sys/dev/if_ndis. 2006-03-30 22:57:56 +00:00
christos 162bcf9406 If dying, return after doing the software part [as noted in the comment
but not done]. Pointed out by Greg Troxel.
2006-03-30 19:08:31 +00:00
thorpej 516792c317 Use device_private() more. 2006-03-30 18:16:20 +00:00
thorpej 6ecb4ef75f Liberally apply static. 2006-03-30 18:14:37 +00:00
thorpej 07c30f824f Use device_private(). 2006-03-30 16:09:28 +00:00
cube 59e53df5fa Silence device creation and destruction. That means there won't be
spurious messages when doing "vnconfig -l", but it also means there won't
be a message when an actual device is created.  Oh, well.

PR#33116 by Izumi Tsutsui.
2006-03-30 15:19:45 +00:00
thorpej ceb94256d6 Use device_private(). 2006-03-29 18:17:36 +00:00
thorpej ec03de0c39 Use device_pprivate(). 2006-03-29 17:23:56 +00:00
thorpej f598845579 Fix an oversight in previous. 2006-03-29 17:18:55 +00:00
thorpej 838ee1e0d9 Use device_private(). 2006-03-29 06:51:47 +00:00
thorpej 8fc3572573 Use device_private(). 2006-03-29 06:41:24 +00:00
thorpej 92c7bba3df Use device_private(). 2006-03-29 06:28:38 +00:00
thorpej 0bb0418280 Use device_private(). 2006-03-29 06:22:38 +00:00
thorpej 78ffd948be Replace device_locators() with device_locator(), and use it. 2006-03-29 06:00:46 +00:00
thorpej 9dfa94e2e6 Don't sleep on &rx->ra_dev.dv_unit -- sleep on &rx->ra_state instead. 2006-03-29 04:47:13 +00:00
thorpej 2709fdc80e Remove isp_unit -- it is not used. 2006-03-29 04:43:56 +00:00
thorpej f5bd442003 Use device_unit(). 2006-03-29 04:41:56 +00:00
thorpej 5470d2a488 mpt_pci_link_peer(): Rather than testing if the candidate device is attached
with mpt_pci (by comparing the dv_cfattach pointer), check to see if it has
the same parent.  If so, then it is guaranteed to have the same attachment
(which is mpt_pci).
2006-03-29 04:32:09 +00:00
thorpej 2be6494fc9 Use device_cfdata(). 2006-03-29 04:16:44 +00:00
riz fee50493a2 Add jumbo frames support, from OpenBSD (mcbride). As seen on tech-net
for the last N months.
2006-03-28 18:29:42 +00:00