Commit Graph

5040 Commits

Author SHA1 Message Date
christos 87fd29be14 static goes first. 2006-08-28 00:18:30 +00:00
christos 6e913df162 remove unreachable code. 2006-08-28 00:08:38 +00:00
christos a19f83e53b add missing initializer. 2006-08-28 00:07:35 +00:00
christos 63f68a892b remove unreachable code. 2006-08-28 00:06:14 +00:00
christos 78cdbd8e9c add missing initializer. 2006-08-28 00:04:21 +00:00
christos 7546f55be3 add missing initializer 2006-08-28 00:01:36 +00:00
christos 2735c71895 static comes first. 2006-08-28 00:00:23 +00:00
christos a98a1f3b7b Add missing initializers. 2006-08-27 23:59:40 +00:00
christos d137310d6b add missing initializer 2006-08-27 23:53:10 +00:00
christos 4a778ebf9a - static needs to be first
- complete the cdevsw
2006-08-27 23:31:15 +00:00
christos c689e59cb9 restructure ifdefs 2006-08-27 23:27:44 +00:00
christos 35f0d726a8 complete initialization 2006-08-27 23:21:35 +00:00
christos 52975efd5a Grr. Don't define _KERNEL! Most of the kernel files do #ifdef _KERNEL 2006-08-27 19:19:47 +00:00
xtraeme f61564f6ba Initialize a variable to 0 to appease gcc4 with -O3. 2006-08-27 17:05:39 +00:00
christos 52c2319234 Regen 2006-08-27 08:16:44 +00:00
christos 8270ea8a29 PR/34289: Stéphane Witzmann: Add some missing PCI devices in pcidevs 2006-08-27 08:16:16 +00:00
christos dace278549 PR/34292: Aaron Hodgen: twa driver incorrectly reports drive size/description 2006-08-26 19:35:51 +00:00
riz df667bafa9 In sk_watchdog(), attempt to reclaim pending TX descriptors before
resetting the hardware.  Should fix occasional watchdog timeouts
seen with this driver.

From FreeBSD, via OpenBSD.
2006-08-25 20:16:57 +00:00
riz 62cb42312d Cleanup, with no functional changes:
- remove unused code
	- KNF
	- ANSI function declarations
	- replace printf() with aprint_error() except in debug functions
	- a few minor indentation/whitespace changes
2006-08-25 02:34:30 +00:00
riz 0284fe298f Regen (Marvell product IDs) 2006-08-24 22:40:59 +00:00
riz 4a163d3c68 Add a bunch of Marvell product IDs, from OpenBSD. 2006-08-24 22:40:20 +00:00
christos f0f1731b24 Acting as Elad's keyboard:
Place the securelevel checks in their logical locations.
This will be clearer in the future when code changes to use kauth(9) calls.

input and okay ad@
2006-08-23 15:44:29 +00:00
cube 7db2b0d746 Regen (Broadcom NetXtreme II). 2006-08-23 13:55:48 +00:00
cube 7de2074ec7 Add Broadcom NetXtreme II devices. 2006-08-23 13:54:37 +00:00
riz a9815feffa Vendor GALILEO is now MARVELL. 2006-08-22 21:42:19 +00:00
riz ec9d914ee6 Regen for GALILEO -> MARVELL 2006-08-22 21:41:12 +00:00
riz 3f9d78d294 Rename vendor GALILEO -> vendor MARVELL . Marvell bought Galileo years
ago, we have little existing stuff in the tree, and this will make it
easier to keep certain network drivers in sync with other OSes.

OK matt@, uwe@
2006-08-22 21:40:17 +00:00
riz 2314dce488 Add byteswapping where appropriate, to allow things to work on
(at least some) bigendian systems - I tested on macppc.

From brad@openbsd .
2006-08-22 06:24:10 +00:00
riz a06f7205fb Some cleanup in skc_attach():
- does not need splnet()
	- disestablish the interrupt and unmap bus space on failures.
2006-08-20 18:04:53 +00:00
riz c250a823e7 Make this driver compile when SK_USEIOSPACE is defined - I have no
evidence that this is actually needed except for the existence of the
code itself, but if it's going to be here, it should compile.  Tested
briefly on my ASUS motherboard with built-in sk interface.
2006-08-20 16:03:30 +00:00
macallan 1ab7fe6df2 fix a typo so we actually write sane values into the clipping registers 2006-08-19 17:57:13 +00:00
skrll 326bcc171a Add some sysctl knobs to bring us closer to the FreeBSD driver.
Also sysctl enable the debug message printing (if IWI_DEBUG) is defined.
2006-08-19 06:32:52 +00:00
macallan ea7df82ebc fix some typos, add mmap() support for X
needs options RADEONFB_MMAP_BARS for now
2006-08-19 04:39:32 +00:00
macallan f5804719cd make this work on macppc.
fixes and caveats:
- will switch to 32bit colour, 8bit support needs some more work
- added support for fonts with widths that aren't multiples of 8
- for now the driver will always try to become system console
- mode switching works but is ugly
- all the acceleration bits work
- X should work with wsfb, mmap() needs some more work
- it still needs a hack to allow wsdisplay_cnattach to be called twice
2006-08-19 04:00:15 +00:00
he f4ad138e01 Make this build again without OBOE_DEBUG defined (get rid of warnings
about unused variables).
2006-08-17 22:14:38 +00:00
christos 35ca6c8b5b Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!
2006-08-17 17:11:27 +00:00
gdamore 0d7e99a27a Initial import of radeonfb. Works to some degree on at least some hardware.
Most of the testing was done on MIPS hardware -- it probably needs work before
it will be useful with x86 hardware, and it is probably incompatible with
the X11 server.

"ATI Technologies Inc. ("ATI") has not assisted in the creation of, and
does not endorse, this software.  ATI will not be responsible or liable
for any actual or alleged damage or loss caused by or in connection with
the use of or reliance on this software."

Enjoy!
2006-08-16 22:46:44 +00:00
jmcneill e0a36ed3ff Reclaim resources from an initial vga console on attach. 2006-08-13 20:27:33 +00:00
jmcneill 28ff3283af Acceleration definitions (missed in previous commit). 2006-08-13 20:26:55 +00:00
jmcneill 5effc9a4f9 Expose RGB palette tables. 2006-08-13 20:25:47 +00:00
jmcneill ef21ee74e6 Add accelerated putchar and cursor ops. Also fix a bug in copyrows that
caused scrolling down to always fail.
2006-08-13 14:16:44 +00:00
dsainty 07955f97ca Add support for the Promise PDC20771, present on the Promise FastTrak TX2300.
This support is not based on a datasheet, because a datasheet is not readily
available for this chip.  However, Promise have partially open sourced their
driver for Linux, and all suggestions are that the PDC20771 is pretty similar
to other recent SATA chips.

The TX2300 has two ports, but there is unoccupied space on the board for a
third PATA port.  It isn't entirely obvious how many channels the PDC20771 can
support.

The pdc205xx_drv_probe probe is necessary to avoid probing two wd* devices for
every physical device.
2006-08-13 09:39:25 +00:00
dsainty cff0bb36bb Regen: Add the Promise PDC20771, present on the Promise FastTrak TX2300 2006-08-13 08:02:07 +00:00
dsainty 1a778d636e Add the Promise PDC20771, present on the Promise FastTrak TX2300 2006-08-13 08:00:14 +00:00
oster 505c134201 Apply a change from damien in OpenBSD: fix a use-after-free (read)
of a mbuf in wpi_tx_intr().
2006-08-13 03:52:33 +00:00
jmcneill 7c8d725f94 Add acceleration support for the VIA UniChrome driver. While here, fix a
bug that caused the screen to be filled with annoying vertical lines.
2006-08-13 03:37:02 +00:00
jmcneill bdbf1a3323 Add rasops16 attribute to unichromefb. 2006-08-13 03:34:11 +00:00
simonb af29995e74 Add a port of the OpenBSD Intel 3945ABG wpi(4) wireless driver, by
Jean-Baptiste Campesato.

From PR kern/33778.
2006-08-13 02:21:45 +00:00
simonb 4abae2e82a Regen. 2006-08-10 13:22:54 +00:00
simonb 3ec8720588 Fix typo in 3945 Intel wireless card name.
Pointed out in private mail by Jean-Baptiste Campesato.
2006-08-10 13:22:12 +00:00