summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-09-27- do not bother printing the attach error message from the attach hookBrad Smith
if pgt_attach() fails. - remove pgt_disable/pgt_reboot from the pgt_attach error path, just return for now. ok mglocker@
2006-09-27add missing sys/device.h header.Brad Smith
2006-09-26Start to get HostAP mode working for pgt(4). Works at the first try,Marcus Glocker
but surely needs more testing and some more modifications.
2006-09-26Get HostAP mode working and fix IBSS tweaks. From DragonFly driver.Marcus Glocker
Tested by claudio and me so far. ok jsg@
2006-09-23In pgt_media_status() also DPRINTF if the rate == 0.Marcus Glocker
2006-09-23Update media state correctly.Marcus Glocker
ok claudio@
2006-09-22add support for hotplugging devices on sas controllers. this is disabledDavid Gwynne
for now until we deal more appropriately with events generated by other variants of mpi controllers.
2006-09-21code for acking event notifications that require acks.David Gwynne
2006-09-21deref the right rcb by using i as the index, not 1 all the time.David Gwynne
2006-09-21start cleaning up the completion path for event notifications.David Gwynne
2006-09-21add a debug flag type thing for event handlingDavid Gwynne
2006-09-21wrap the hardware replies up in a structure called mpi_rcb which isDavid Gwynne
similair to the one used for requests. take the reply bits out of the ccb, but point it at the rcb instead. this lets us defer processing of the reply some time after we reuse or free the ccb.
2006-09-21factor the common code out of mpi_intr and mpi_complete. they wereDavid Gwynne
basically identical apart from the conditions they looped on.
2006-09-21event data for the sas phy and sas status change messagesDavid Gwynne
2006-09-19attach and enable the newer chipset generations AR2413, AR5413, andReyk Floeter
AR5424. unlike the previous chipset generations, these chipsets are single chip solutions. the AR5424 is a PCI Express chipset as found in various intel Macs. support is still incomplete- 11a mode works and 11b mode is rx-only. i need some more test reports, hardware donations (there are several different subrevisions) and time to finish it. thanks for help from kettenis@ "of course!" deraadt@
2006-09-19add missing sys/device.h.Brad Smith
ok mglocker@
2006-09-19detect the newer single chip generations AR2413, AR5413 and AR5224 butReyk Floeter
don't attach them, yet.
2006-09-19"pure g" is a special, non-standard ofdm-only mode. use the standardReyk Floeter
dynamic cck/ofdm "11g" mode instead.
2006-09-19better mode setup in the ar5211 and ar5212 reset functionsReyk Floeter
2006-09-19fix 11a/b antenna mode setupReyk Floeter
2006-09-19use the correct antenna mode settings and fix a bug in the txReyk Floeter
descriptor setup. this will fix various issues including 11a mode with ar5212.
2006-09-19disable 11g mode for nowReyk Floeter
2006-09-19no externs on protots ad no casts from void *Michael Shalayeff
2006-09-18Fix for re_stop() being called from re_cardbus_shutdown() with theDimitry Andric
wrong arguments, causing uvm_fault on halt/reboot, with a cardbus re inserted. While here, cleanup prototypes and use revar.h everywhere. ok brad@
2006-09-18don't use IF_PREPEND() on altq's.Damien Bergamini
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
2006-09-18macros and types for event notifications from the hardware.David Gwynne
2006-09-18tiny whitespace nitDavid Gwynne
2006-09-18There's no need to walk the list of devices to find the SCSI bus wePedro Martelletto
should attach to, since config_found() already returns a pointer to it. Pointed out by Quentin Garnier, okay dlg@.
2006-09-17Re-add the link state check to re_start(), which was added in rev 1.31 andBrad Smith
removed in rev 1.43 just before release, as a workaround for a link state issue found with the 8139C+ chips. Due to the different bit layout used by the 8139C+ chips rlphy(4) was not reporting the correct link status. Fix from yongary@FreeBSD Tested by maja@
2006-09-17set the IFCAP_VLAN_MTU flag.Brad Smith
From bouyer@NetBSD
2006-09-16Don't panic if firmware files are not in place. Ja ja ja ja claudio@.Marcus Glocker
ok deraadt@
2006-09-16Bring pgt(4) in a working state. Much work also done by claudio@.Marcus Glocker
ok deraadt@
2006-09-16rework the handling of the errors coming off the hardware at the bottom ofDavid Gwynne
mpi_scsi_cmd_done. this makes it more appropriate for our midlayer. ok beck@ deraadt@
2006-09-15Reserve some commands slot for bioctl/sensorsd so ciss doesn't crashKenneth R Westerback
under load when bioctl/sensorsd are active. Better fix post-4.0. Problem found, fix tested by Johan Mson Lindman. ok dlg@ marco@ mickey@ deraadt@
2006-09-15Kettenis's polished version of diff to preserve the mac address on thecus,Dale Rahn
if the hardware mac is a specific number (hardware doesn't provide unique mac addresses except in redboot fconfig data). yes deraadt@
2006-08-31ciss can't do bio ioctl's when >1 logical device is defined. Bail outKenneth R Westerback
of ciss_ioctl if >1 logical device is present. Fixes dereferencing of uninitialized pointer. From mickey@ ok deraadt@
2006-08-31Start to get interface attach working.Marcus Glocker
ok deraadt@
2006-08-31Some first cleanup run.Marcus Glocker
ok deraadt@
2006-08-31Bring chip into initialized state.Marcus Glocker
ok deraadt@
2006-08-31Oops! Disable debug.Marco Peereboom
2006-08-31Add sensor thread for individual sd devices.Marco Peereboom
tested dlg ok dlg deraadt
2006-08-31Do proper chipset identification.Marcus Glocker
ok deraadt@
2006-08-31Prerrt print volume nr in dmesg.Marco Peereboom
ok mickey, deraadt, krw
2006-08-31Get firmware loaded.Marcus Glocker
ok deraadt@
2006-08-30Return from channel tuning code if we get IEEE80211_CHAN_ANYJonathan Gray
as per other drivers instead of doing panics. Should workaround PR 5206 which I could never manage to reproduce, though we really shouldn't be getting IEEE80211_CHAN_ANY here. ok deraadt@
2006-08-30when determining the size of the volumes and disks we want how manyDavid Gwynne
bytes each of them has, not the number of kilobytes. this solves the "why am i dividing by 2" question. the answer is "you dont, you multiply by 512".
2006-08-29Don't panic when watchdog timeout is called.Marcus Glocker
formal ok deraadt@
2006-08-28Port bus_dmamap_load(9) and bus_dmamap_sync(9).Marcus Glocker
2006-08-28Move DMA mapping code from if_pgt_pci.c to pgt.c and port it as is for now.Marcus Glocker
Remove dead code chunk from if_pgt_pci.c. For those who want to refer to the original code you can find it in ~mglocker/pgt/orig.
2006-08-28async events defines and structsMichael Shalayeff