summaryrefslogtreecommitdiffstats
path: root/include/linux/ata_platform.h
Commit message (Expand)AuthorAgeFilesLines
* include: remove __dev* attributes.Greg Kroah-Hartman2013-01-041-6/+6
* pata_platform: remove unused remove functionBrian Norris2012-12-031-2/+0Star
* ARM: Orion: Remove address map info from all platform data structuresAndrew Lunn2011-12-141-3/+0Star
* sata_mv: mbus decode window supportLennert Buytenhek2008-03-271-0/+3
* sata_mv: Support SoC controllersSaeed Bishara2008-02-061-3/+10
* Rename: linux/pata_platform.h to linux/ata_platform.hJeff Garzik2008-02-061-0/+27
xed the Kconfig description (noted by Dmitry Kravkov). Acked-by: Eddie Wai <eddie.wai@broadcom.com> Acked-by: Jeffrey Huang <huangjw@broadcom.com> Signed-off-by: Prashant Sreedharan <prashant@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> * net: dsa: mv88e6xxx: remove debugfs interfaceVivien Didelot2015-10-232-293/+0Star | | | | | | | | It is preferable to have a common debugfs interface for DSA or switchdev instead of a driver specific one. Thus remove the mv88e6xxx debug code. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net> * Merge branch 'dsa-port_fdb_dump'David S. Miller2015-10-226-91/+83Star |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vivien Didelot says: ==================== net: dsa: implement port_fdb_dump in drivers Not all switch chips provide a Get Next kind of operation to dump FDB entries. It is preferred to let the driver handle the dump operation the way it works best for the chip. Thus, drop port_fdb_getnext and implement the port_fdb_dump operation in DSA, which pushes the switchdev FDB dump callback down to the drivers. mv88e6xxx is the only driver affected and is updated accordingly. v3 -> v4: fix rejects on latest net-next v2 -> v3: opencode switchdev_obj_dump_cb_t to avoid multiple typedef; use ether_addr_copy in fdb_dump v1 -> v2: fix a few "return err" instead of "goto unlock" in mv88e6xxx.c ==================== Signed-off-by: David S. Miller <davem@davemloft.net> | * net: dsa: remove port_fdb_getnextVivien Didelot2015-10-222-27/+1Star | | | | | | | | | | | | | | | | No driver implements port_fdb_getnext anymore, and port_fdb_dump is preferred anyway, so remove this function from DSA. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net> | * net: dsa: mv88e6xxx: remove port_fdb_getnextVivien Didelot2015-10-224-77/+0Star | | | | | | | | | | | | | | | | Now that port_fdb_dump is implemented and even simpler, get rid of port_fdb_getnext. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net> | * net: dsa: mv88e6xxx: implement port_fdb_dumpVivien Didelot2015-10-224-0/+70 | | | | | | | | | | | | | | Implement the port_fdb_dump DSA operation. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net> | * net: dsa: mv88e6xxx: write MAC outside of ATU Get Next codeVivien Didelot2015-10-221-6/+5Star | | | | | | | | | | | | | | | | | | | | | | There is no need to write the MAC address before every Get Next operation, since ATU MAC registers are not cleared between calls. Move the _mv88e6xxx_atu_mac_write call outside of _mv88e6xxx_atu_getnext so future code could call ATU Get Next multiple times and save a few register access. Signed-off-by: David S. Miller <davem@davemloft.net> | * net: dsa: mv88e6xxx: write VID outside of VTU Get Next codeVivien Didelot2015-10-221-10/+29 | | | | | | | | | | | | | | | | | | | | | | | | There is no need to write the VLAN ID before every Get Next operation, since the VTU VID register is not cleared between calls. Move the VID write call in a _mv88e6xxx_vtu_vid_write function outside of _mv88e6xxx_vtu_getnext so future code could call VTU Get Next multiple times and save a few register accesses. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net> | * net: dsa: add port_fdb_dump functionVivien Didelot2015-10-222-0/+7 |/ | | | | | | | Not all switch chips support a Get Next operation to iterate on its FDB. So add a more simple port_fdb_dump function for them. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net> * Merge tag 'mac80211-next-for-davem-2015-10-21' of ↵David S. Miller2015-10-2241-659/+910 |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next Johannes Berg says: ==================== Here's another set of patches for the current cycle: * I merged net-next back to avoid a conflict with the * cfg80211 scheduled scan API extensions * preparations for better scan result timestamping * regulatory cleanups * mac80211 statistics cleanups * a few other small cleanups and fixes ==================== Signed-off-by: David S. Miller <davem@davemloft.net> | * mac80211: move station statistics into sub-structsJohannes Berg2015-10-2111-185/+178Star | | | | | | | | | | | | | | | | | | | | | | | | | | | | Group station statistics by where they're (mostly) updated (TX, RX and TX-status) and group them into sub-structs of the struct sta_info. Also rename the variables since the grouping now makes it obvious where they belong. This makes it easier to identify where the statistics are updated in the code, and thus easier to think about them. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: move beacon_loss_count into ifmgdJohannes Berg2015-10-215-14/+12Star | | | | | | | | | | | | | | | | | | | | There's little point in keeping (and even sending to userspace) the beacon_loss_count value per station, since it can only apply to the AP on a managed-mode connection. Move the value to ifmgd, advertise it only in managed mode, and remove it from ethtool as it's available through better interfaces. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: remove sta->last_ack_signalJohannes Berg2015-10-213-7/+0Star | | | | | | | | | | | | | | | | This file only feeds a debugfs file that isn't very useful, so remove it. If necessary, we can add other ways to get this information, for example in the NL80211_CMD_PROBE_CLIENT response. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: fix reg_ignore_cell_hint return typeJohannes Berg2015-10-161-1/+2 | | | | | | | | | | | | | | The return type should be enum reg_request_treatment for both branches of the #ifdef. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: reduce chan_reg_rule_print_dbg() ifdefJohannes Berg2015-10-161-9/+2Star | | | | | | | | | | | | | | The function is void and static, so just ifdef its contents instead of duplicating the declaration. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: fix antenna gain in chan_reg_rule_print_dbg()Johannes Berg2015-10-161-2/+2 | | | | | | | | | | | | | | | | Printing "N/A mBi" is strange - print just "N/A" instead. Also add a missing opening parenthesis. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: centralize freeing ignored requestsJohannes Berg2015-10-161-29/+35 | | | | | | | | | | | | | | | | | | | | | | | | Instead of having a lot of places that free ignored requests and then return REG_REQ_OK, make reg_process_hint() process REG_REQ_IGNORE by freeing the request, and let functions it calls return that instead of freeing. This also fixes a leak when a second (different) country IE hint was ignored. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: clarify 'treatment' handling in reg_process_hint()Johannes Berg2015-10-161-7/+9 | | | | | | | | | | | | | | This function can only deal with treatment values OK and ALREADY_SET so make the callees not return anything else and warn if they do. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: rename reg_regdb_query() to reg_query_builtin()Johannes Berg2015-10-161-3/+3 | | | | | | | | | | | | The new name better reflects the functionality. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: make CRDA support optionalJohannes Berg2015-10-163-73/+114 | | | | | | | | | | | | | | | | If there's a built-in regulatory database, there may be little point in also calling out to CRDA and failing if the system is configured that way. Allow removing CRDA support to save ~1K kernel size. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: remove useless reg_timeout schedulingJohannes Berg2015-10-151-8/+2Star | | | | | | | | | | | | | | | | | | | | | | When the functions reg_set_rd_driver() and reg_set_rd_country_ie() return with an error, the calling function already restores data by calling restore_regulatory_settings(), so there's no need to also schedule a timeout (which would lead to other side effects such as indicating CRDA failed, which clearly isn't true.) Remove the scheduling. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: search built-in database directlyJohannes Berg2015-10-151-44/+58 | | | | | | | | | | | | | | | | | | Instead of searching the built-in database only in the worker, search it directly and return an error if the entry cannot be found (or memory cannot be allocated.) This means that builtin database queries no longer rely on the timeout. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: rename reg_call_crda to reg_query_databaseJohannes Berg2015-10-151-5/+5 | | | | | | | | | | | | | | The new name is more appropriate since in the case of a built-in database it may not really rely on CRDA. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: fix reg_call_crda() return value bugJohannes Berg2015-10-151-31/+30Star | | | | | | | | | | | | | | | | The function reg_call_crda() can't actually validly return REG_REQ_IGNORE as it does now when calling CRDA fails since that return value isn't handled properly. Fix that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: reg: remove useless non-NULL checkJohannes Berg2015-10-151-3/+0Star | | | | | | | | | | | | | | There's no way that the alpha2 pointer can be NULL, so no point in checking that it isn't. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: fix gHz to GHzJohannes Berg2015-10-152-2/+2 | | | | | | | | | | | | There's no "g" prefix, only "G" (1e9) that was clearly intended here. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: remove event.cJohannes Berg2015-10-144-34/+6Star | | | | | | | | | | | | | | That file contains just a single function, which itself is just a single statement to call a different function. Remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: remove cfg.hJohannes Berg2015-10-144-11/+2Star | | | | | | | | | | | | | | The file contains just a single declaration that can easily move to another file - remove it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: move sta_set_rate_info_rx() and make it staticJohannes Berg2015-10-143-41/+39Star | | | | | | | | | | | | | | There's only a single caller of this function, so it can be moved to the same file and made static. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: clean up ieee80211_rx_h_check_dup codeJohannes Berg2015-10-141-10/+10 | | | | | | | | | | | | Reduce indentation a bit to make the condition more readable. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: remove PM-QoS listenerJohannes Berg2015-10-1410-87/+21Star | | | | | | | | | | | | | | | | | | | | As this API has never really seen any use and most drivers don't ever use the value derived from it, remove it. Change the only driver using it (rt2x00) to simply use the DTIM period instead of the "max sleep" time. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: use new cfg80211_inform_bss_frame_data() APIJohannes Berg2015-10-132-15/+15 | | | | | | | | | | | | | | The new API is more easily extensible with a metadata struct passed to it, use it in mac80211. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * mac80211: Do not restart scheduled scan if multiple scan plans are setAvraham Stern2015-10-131-2/+6 | | | | | | | | | | | | | | | | | | | | | | | | If multiple scan plans were set for scheduled scan, do not restart scheduled scan on reconfig because it is possible that some scan plans were already completed and there is no need to run them all over again. Instead, notify userspace that scheduled scan stopped so it can configure new scan plans for scheduled scan. Signed-off-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * cfg80211: Add multiple scan plans for scheduled scanAvraham Stern2015-10-1310-25/+262 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the option to configure multiple 'scan plans' for scheduled scan. Each 'scan plan' defines the number of scan cycles and the interval between scans. The scan plans are executed in the order they were configured. The last scan plan will always run infinitely and thus defines only the interval between scans. The maximum number of scan plans supported by the device and the maximum number of iterations in a single scan plan are advertised to userspace so it can configure the scan plans appropriately. When scheduled scan results are received there is no way to know which scan plan is being currently executed, so there is no way to know when the next scan iteration will start. This is not a problem, however. The scan start timestamp is only used for flushing old scan results, and there is no difference between flushing all results received until the end of the previous iteration or the start of the current one, since no results will be received in between. Signed-off-by: Avraham Stern <avraham.stern@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * wireless: add WNM action frame categoriesJohannes Berg2015-10-131-0/+3 | | | | | | | | | | | | | | Add the WNM and unprotected WNM categories and mark the latter as not robust. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * wireless: update robust action frame listJohannes Berg2015-10-131-0/+2 | | | | | | | | | | | | | | Unprotected DMG and VHT action frames are not protected, reflect that in the list. Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * nl80211: allow BSS data to include CLOCK_BOOTTIME timestampDmitry Shmidt2015-10-137-60/+130 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For location and connectivity services, userspace would often like to know the time when the BSS was last seen. The current "last seen" value is calculated in a way that makes it less useful, especially if the system suspended in the meantime. Add the ability for the driver to report a real CLOCK_BOOTTIME stamp that can then be reported to userspace (if present). Drivers wishing to use this must be converted to the new API to call cfg80211_inform_bss_data() or cfg80211_inform_bss_frame_data(). They need to ensure the reported value is accurate enough even when the frame might have been buffered in the device (e.g. firmware.) Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> [modified to use struct, inlines] Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * Revert "mac80211: remove exposing 'mfp' to drivers"Tamizh chelvam2015-10-133-1/+8 | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5c48f1201744233d4f235c7dd916d5196ed20716. Some device drivers (ath10k) offload part of aggregation including AddBA/DelBA negotiations to firmware. In such scenario, the PMF configuration of the station needs to be provided to driver to enable encryption of AddBA/DelBA action frames. Signed-off-by: Tamizh chelvam <c_traja@qti.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> | * Merge remote-tracking branch 'net-next/master' into mac80211-nextJohannes Berg2015-10-13