> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/ar40xx.4.md).

# ar40xx.4

`ar40xx_switch` — Qualcomm IPQ4018/IPQ4019 千兆以太网交换机驱动

## 名称

`ar40xx_switch`

## 概要

`device mdio etherswitch ar40xx_switch`

## 描述

`ar40xx_switch` 驱动支持 Qualcomm IPQ4018/IPQ4019 SoC 内部的千兆以太网交换机。

## 硬件

`ar40xx_switch` 驱动支持以下千兆以太网交换机控制器：

* Qualcomm IPQ 4019 五端口千兆以太网交换机
* Qualcomm IPQ 4018 五端口千兆以太网交换机

## 参见

[etherswitch(4)](/man/man4/etherswitch.4.md), etherswitchcfg(8)

## 注意事项

此驱动目前仅支持 L2 端口/VLAN 映射模式。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/ar40xx.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
