Commit Graph

6123 Commits

Author SHA1 Message Date
kiyohara c3b43ec571 Support use PCI Clock(SF_CHIP_USEPCIC). We can set the value "use_pciclock"
by prop_dictionary_set_bool().
2008-06-11 02:09:16 +00:00
dyoung fa64da0d81 Fix a couple of mistakes in the device_t/softc split that cause
machines such as my HP Pavilion N3270 to freeze at boot.  This
should fix PR kern/38815, too.
2008-06-10 21:19:01 +00:00
freza 6e9d339816 o Split device_t/softc for agp(4).
o agp_ali.c: remove unused 'agp' member from agp_ali_softc.
o drm: agp_find_device() returns 'void *', not a device_t.
o Use device_t, cfdata_t instead of struct pointers.
o Don't cast void pointers in assignments.
2008-06-09 06:49:54 +00:00
tsutsui 887a89aa5c Use device_lookup_private() rather than using cd_devs[] directly to get softc.
XXX maybe we should change a type of cd_devs[] in struct cfdriver
    from (void *) to device_t.
2008-06-08 18:18:33 +00:00
joerg d2768df2f3 Mention 64bit support once during boot and not every time the controller
is reset.
2008-06-08 14:02:25 +00:00
tsutsui 1f459d82b5 Replace device_lookup() with device_lookup_private() on getting softc
for future device_t/softc spilt.
2008-06-08 12:43:51 +00:00
mlelstv 6e5c763373 really set Tx thresholds 2008-06-08 11:41:26 +00:00
cegger cd3c32c639 make this build with AZALIA_DEBUG
get rid of XNAME macro
2008-06-08 08:47:05 +00:00
freza 564b3de4f4 Split device_t/softc. Remove unused macros. 2008-06-07 16:32:38 +00:00
bouyer 33a062486a Call ahci_intr() with the device's softc, not the device_t.
Should fix kern/38742
2008-06-05 18:22:02 +00:00
jmcneill 017a2ae6d4 Backout previous; causes a panic on attach/detach/reattach for some
unknown reason.
2008-06-02 13:38:56 +00:00
jmcneill 2134b4663b Halt streams before deleting them on detach. 2008-06-02 13:30:38 +00:00
jmcneill 5d6885cee8 Fix MODULE_CMD_FINI before I copy and paste this anywhere else. 2008-06-02 13:26:46 +00:00
jmcneill 6bbdefc135 Fix MODULE_CMD_FINI case, azalia can be unloaded now. 2008-06-02 13:25:03 +00:00
jmcneill cec27ea38c Allow azalia to be built as a module. 2008-06-02 11:33:22 +00:00
macallan 01dee7feb2 adjust virtual resolution to preferred mode if available
From Marco Trillo
2008-06-01 16:43:53 +00:00
tsutsui f20ac6014b Split device_t/softc, with misc cosmetic changes. 2008-06-01 00:38:29 +00:00
tsutsui 0305395f96 My Compaq Netelligent 10/100 TX has 24C02 (2kbit) serial EEPROM,
so pass 256 (bytes) rather than 512 to seeprom_bootstrap_read().
2008-05-31 23:53:32 +00:00
macallan 55bd0f3dd6 remove test for VGA subclass, also match PCI_PRODUCT_ATI_RAGE3AGP4XT
this makes r128fb work on 2nd generation iMacs
From Brett Slager
2008-05-30 19:56:14 +00:00
ad 48ced055d4 pci_intr_setattr(), allows PCI interrupts to be marked MPSAFE on x86, and
other platforms if the code is added.

pci_intr_map(...)
pci_intr_setattr(pc, ih, PCI_INTR_MPSAFE, 1);
pci_intr_establish(...)
2008-05-30 19:26:35 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
joerg 5c0597e08b Add PMF hooks. Fixes PR 38675. 2008-05-28 16:20:17 +00:00
dyoung a238dc9749 Straggler from last commit: drop unused radiotap flags field, set
the __packed attribute on the radiotap headers.
2008-05-27 21:42:08 +00:00
dyoung 233108fde8 Initialize the channel info in the tx/rx radiotap headers in
ipw_newstate(), instead of reinitializing every time a packet is
sent or received.  Drop the unused radiotap 'flags' field.
2008-05-27 21:41:01 +00:00
dyoung ea0d0ed51e Distinguish O2 Micro bridges from generic bridges. PCI Parity
Error reporting seems to be broken on O2 Micro bridges, so do not
activate it.  Should fix kern/38698, reported by Andreas Gustafsson.
2008-05-27 21:32:47 +00:00
dyoung 25b52967a3 For all controllers but type SK_YUKON_FE, set the jumbo frames
capability, ETHERCAP_JUMBO_MTU.  Rely on ether_ioctl() to enforce
the MTU range implied by the ethernet capabilities.  Should fix
kern/38748.

While I'm here, use some standard ethernet constants instead of
msk-specific constants.
2008-05-27 20:14:28 +00:00
nisimura 540dfe3a95 - assign 2 clause TNF license to the files cited as my ownership.
- abandon and remove my copyright notice from the three files were
copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
2008-05-26 10:31:22 +00:00
jmcneill 9d0947ae6e PR#34477: Don't dereference ni_chan if it points to the special
``any channel'' token IEEE80211_CHAN_ANYC
2008-05-25 23:17:33 +00:00
jmcneill a6e01338bc Based on changes to nfe_attach in r1.27, wake newer chips from powerdown
mode on resume as well as at attach time.
2008-05-25 22:57:35 +00:00
cegger 5db879ef65 add comment why NULL handlers are sufficient.
requested and ok'd by jmcneill
2008-05-25 22:03:23 +00:00
cegger 30bdfd753f add power management support 2008-05-25 20:51:22 +00:00
chs b2e9f679cb recognize the variant found in the last model of powermac G5. 2008-05-25 16:00:11 +00:00
chs 9a885b7050 regen 2008-05-25 15:59:21 +00:00
chs 0efe596589 add devices found in the last model of powermac G5. from openbsd. 2008-05-25 15:58:48 +00:00
jnemeth 3f1ee498b5 Import siisata(4) by Jonathan A. Kollasch.
The siisata driver supports the Silicon Image SteelVine family of SATA-II
     controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
     systems.

     The following controllers are supported by the siisata driver:

           Silicon Image SiI3124 4-port PCI/PCI-X
           Silicon Image SiI3132 2-port PCI-Express x1
           Silicon Image SiI3531 1-port PCI-Express x1

     SATA Native Command Queueing is not yet supported.
     Device hot swapping is not yet supported.
     Silicon Image's Software RAID is not yet supported by the
             ataraid(4) driver.

Approved by: core (christos), releng (bouyer)
2008-05-23 21:11:40 +00:00
dyoung 8862e80cb4 Delete non-illuminating #ifdef-OTHER_OPERATING_SYSTEM code that
confuses ctags(1).
2008-05-22 01:27:32 +00:00
dyoung 1346df7877 KNF. 2008-05-22 01:23:48 +00:00
dyoung eef522873b Use __arraycount(). 2008-05-22 01:22:17 +00:00
cegger 245f7a0350 regen. 2008-05-20 16:56:13 +00:00
cegger 0fbcab6ee4 add some ATI products (SB600 modem, RD790 and RS690) 2008-05-20 16:55:28 +00:00
jmcneill 6a440044e9 Module depends on drm. 2008-05-20 14:20:21 +00:00
bjs f790bea856 drm 2008-05-19 00:15:44 +00:00
jmcneill 4f4434d528 Support building as a module. 2008-05-18 21:12:44 +00:00
jmcneill 235a59361f Support building as a module. 2008-05-18 20:02:34 +00:00
jmcneill 4db90e1f38 Add 'rescan' function for vga. 2008-05-18 19:54:11 +00:00
bjs 52c6ca762a Use cv(9) instead of mtsleep/wakeup. Also, define drm_hz as
mstohz(333) (this seems to eliminate lockups for me using the r300
driver).  Tested with i915 and radeon on amd64.
2008-05-18 02:45:17 +00:00
dholland 880d196c7a fix typo in error message 2008-05-14 19:32:18 +00:00
tsutsui b87210fa51 Normalize my licenses. 2008-05-14 13:29:27 +00:00
mjf cedc21b1f9 Do not dereference this->intr if it's NULL. 2008-05-13 20:21:19 +00:00
jmcneill e8535e3b85 Hook hardware volume buttons into pmf. 2008-05-13 19:24:06 +00:00