> 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/ksz8995ma.4.md).

# ksz8995ma.4

`ksz8995ma` — Micrel KSZ8995MA 快速以太网交换芯片驱动

## 名称

`ksz8995ma`

## 概要

`device spibus device etherswitch device ksz8995ma`

`hint.ksz8995ma.0.at="spibus0"`

## 描述

`ksz8995ma` 设备驱动提供对 Micrel KSZ8995MA 快速以太网交换芯片的管理接口。此驱动使用 spi 接口。KSZ8995 系列有许多版本，但仅支持 MA/FQ 版本。

此驱动支持 port 和 dot1q vlan。dot1q 支持基于端口的标记/取消标记。

## 实例

通过 etherswitchcfg 命令配置 dot1q vlan。

```sh
# etherswitchcfg config vlan_mode dot1q
```

将端口 5 配置为标记端口。

```sh
# etherswitchcfg port5 addtag
```

## 参见

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

## 历史

`ksz8995ma` 设备驱动最早出现于 FreeBSD 12.0。

## 作者

`ksz8995ma` 驱动由 Hiroki Mori 编写。


---

# 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/ksz8995ma.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.
