summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-07-03- re_attach(): Use bus_dma* directly instead of calling re_allocmem().Brad Smith
- re_attach(): Free bus_dma* resources if attach fails. - re_newbuf(): Remove unnecessary error check. - re_encap(): Better error handling. - re_start(): Drop the packet if there are not enough TX descriptors. From NetBSD
2006-07-02put writing of RL_IDR0 and RL_IDR4 back to how they should be.Brad Smith
2006-07-01fix the hw rev id for the 8168 and add the id for the 8111Brad Smith
From wpaul FreeBSD
2006-07-01(fxp/re)_attach_common -> (fxp/re)_attachBrad Smith
2006-07-01always report the channel as type 802.11b (IEEE802_CHAN_B) in theReyk Floeter
net80211 node wrappers.
2006-07-01update the 802.11 address as well if the interface mac address hasReyk Floeter
been changed by the user, ie. with the ifconfig lladdr command. this also replaces the old wicontrol -m option. this closes pr 5159 from peter philipp at freenet dot de.
2006-07-01add the raid physical disk config pages. fix the macros in the raid volumeDavid Gwynne
pages while here.
2006-07-01add the raid volume configuration pages.David Gwynne
2006-07-01man, i suck. when i split one of the dwords up in the io command i got theDavid Gwynne
location of the commands direction wrong. somehow this didnt affect the 1030 chip i was testing on, but it borked vmware and my fc controller. i guess the 1030 was using the cdb to figure out the direction. shifting the direction field into the right place fixes things. found by Jason Crawford, tested by brad@
2006-06-30Unbreak the tree; cast the result of sizeof() to u_int32_t before passing itMark Kettenis
to htole32(). "go for it" miod@
2006-06-30newer alc codecs have revision in the low bits; pt out by jasperMichael Shalayeff
2006-06-30tabs, not spacesDavid Gwynne
2006-06-30add mpi_inq. this is a custom io function that does an inquiry againstDavid Gwynne
either a normal target, or against a physical disk using the raid passthru command. it is necessary since the normal io path can only be used by the midlayer, and only against normal targets. this will be used for ppr against the disks in raid volumes on scsi controllers. tested by marco@
2006-06-30- add a disable argument for re_stop.Brad Smith
- call mii_down in re_stop.
2006-06-29remove mpt. it has since been replaced with mpi, which is a smaller andDavid Gwynne
cleaner driver that supports more hardware.
2006-06-29Finally fix the EEPROM reading code so that we can access the EEPROMs on allBrad Smith
devices. In order to access the EEPROM, we must select 'EEPROM programming' mode, and then set the EEPROM chip select bit. Previously, we were setting both bits simultaneously, which doesn't work: they must be set in the right sequence. Always obtain the station address from the EEPROM, now that EEPROM reading works correctly. Have re_tick() check for link state and set rl_link appropriately, if there is a link then also check if the send queue is empty and if not then try to send any queued packets. Have re_start() check for the lack of link state or if OACTIVE is set, if so then return. From FreeBSD
2006-06-29split some fields up in the spi port and dev config pages. makes the pprDavid Gwynne
code easier since we dont have to byteswap and shift stuff around so much. no functional change though.
2006-06-29tweak to make this easier for me to readDavid Gwynne
2006-06-29theres a ton of 32bit fields in mpi messages that have subfields that lieDavid Gwynne
on byte boundaries. so rather than byteswappping and bitshifting the values in these subfields around we can break them up into byte fields and access them directly. this breaks up the control field in the scsi io command.
2006-06-29oops, fix the order of the configuration fields in mpi_cfg_spi_port_pg1David Gwynne
2006-06-28rewrite how the sensors are created. previously they would wait for io toDavid Gwynne
be done on the logical disks so ami_scsi_cmd can stash the name of the device doing the io. we now walk the device tree after the logical disks are attached and use the names of ami's child devices. ok marco@
2006-06-28put proto where it is because dlg says he is a dodoTheo de Raadt
2006-06-27unbreak builds without BIO by moving the sensor setup back under its ifdef.David Gwynne
i could move the shared code that the sensor and bio paths use, but this would add bloat i think. found by _mx, fix by deraadt@
2006-06-27add the net80211 hostap options "nwflag hidenwid" for hidden SSID modeReyk Floeter
and "nwflag nobridge" to prevent inter-station communications. "hidenwid" will also work with wi(4) to replace the old -E 3 option of wicontrol. ok damien@ jmc@
2006-06-27add some more net80211 compatibility glue:Reyk Floeter
- support scanning and node listing ("ifconfig -M"). this will replace wicontrol -L in station mode and wicontrol -l in hostap mode. - allow to print the BSSID tested by quite a few people ok jsg@
2006-06-27we can do the sensors without BIODavid Gwynne
2006-06-27we cant do bioctl or sensors on broken controllers since they dont have theDavid Gwynne
spare ccbs for it and they dont understand the megaraid commands we use in those paths. initially found by jared rr spiegel
2006-06-27- Make re_diag() off by default.Brad Smith
- Update comment to mention newer chip revisions. From wpaul FreeBSD
2006-06-27new HW revs, EEPROM commands, softc fields, some macros and device ids.Brad Smith
From wpaul FreeBSD
2006-06-27- add fixup code in the RX path for strict alignment architectures.Brad Smith
- add a workaround for reception of Jumbo frames. - don't try to adjust alignment on non-strict alignment architectures, this resolves an issue with the PCI Express adapters. From FreeBSD ok drahn@
2006-06-27__attribute__((__packed__)) -> __packedJonathan Gray
2006-06-26Enable wide targets on FAS366 esp; note that this changes the way espMiod Vallat
user-controllable device flags are parsed, be sure to rerun config(8) on your next kernel compile.
2006-06-25fix a typo in a comment and add the comment to the sparc hme driver.Brad Smith
2006-06-25put the 1.32 change back; tested by manyMichael Shalayeff
2006-06-24de-register, ANSI functions and a little cleaning.Brad Smith
2006-06-24some comment fixes.Brad Smith
From FreeBSD
2006-06-23set the RSSI Max value in ath(4) and use the new RSSI radiotap headerReyk Floeter
instead of the old db signal header. also allow tcpdump and hostapd to print the new RSSI radiotap header values current/max rssi. ok damien@ jsg@
2006-06-23In a drivers activate() entry point, if on DVACT_DEACTIVATE it doesMiod Vallat
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@
2006-06-22BBC-based machines swap the two registers (good going Sun -- that is why weTheo de Raadt
don't get documentation, right?), and the clock fed into the chip can vary from model to model; help & testing from dlg
2006-06-21properly handle timeout failure in while loopTheo de Raadt
2006-06-19Factor for disk size is /2. Odd but tested on all mfis I have.Marco Peereboom
2006-06-19Everytime one forgets an argument in a printf-like function call, God killsMiod Vallat
a kitten. Commiters, please think of the kittens when working on code.
2006-06-19Make a BGI (Back Ground Init) a scrub instead of rebuild.Marco Peereboom
2006-06-19Add hot spare support.Marco Peereboom
2006-06-19Avoid using the rfact member of 'struct sensor' which is on its way out.Mark Kettenis
2006-06-18Make mpi not spit out WWNN and WWPN as requested by deraadt and dlg. DoMarco Peereboom
store these values in the scsi_link structure for each device. ok dlg.
2006-06-18- implement new ic_updateslot() callback.Damien Bergamini
- in hostap mode, we defer update of the slot time until all associated STAs are notified with updated beacons.
2006-06-18enable packet bursting when operating as a STA.Damien Bergamini
limit bursts to 8 frames.
2006-06-18Don't walk memory whenever there is nothing there. I ran into this whileMarco Peereboom
debugging FC stuff.
2006-06-18Print World Wide Node Name and World Wide Port Name during dmesg so thatMarco Peereboom
we can actually find the drives on the fabric. Requested by kettenis krw and brad. ok dlg