From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3E93FC47.6030700@dwellis.ru> Date: Wed, 09 Apr 2003 14:56:07 +0400 From: "Nick N. Vinogradov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.2.1) Gecko/20021123 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] Speed and Duplex References: <3E92E502.3020808@dwellis.ru> <3E92E73E.2080301@iop.kiev.ua> <3E92EBA4.8010707@dwellis.ru> <3E93BA57.7020406@rodtext.indi.ru> <20030409212138.662b97d7.dima@sakhalin.ru> In-Reply-To: <20030409212138.662b97d7.dima@sakhalin.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: >>>>>Подскажите, пожалуйста, как можно "насильно" установить скорость >>>>>линии (10/100) и режим дуплекса (half/full) для сетевой карты? Для >> >>IMHO, это должно устанавливаться через параметры загрузки кернел >>модуля - драйвера соответствующей сетевушки. По идее, нужно смотреть >>доки ядра или исходник этого модуля ядра. > > > Или modinfo . Покажет параметры, понимаемые модулем. > nfs:~ # modinfo e100 filename: /lib/modules/2.4.19-64GB-SMP/kernel/drivers/net/e100/e100.o description: "Intel(R) PRO/100 Network Driver" author: "Intel Corporation, " license: "GPL" parm: TxDescriptors int array (min = 1, max = 16), description "Number of transmit descriptors" parm: RxDescriptors int array (min = 1, max = 16), description "Number of receive descriptors" parm: XsumRX int array (min = 1, max = 16), description "Disable or enable Receive Checksum offload" parm: e100_speed_duplex int array (min = 1, max = 16), description "Speed and Duplex settings" parm: ucode int array (min = 1, max = 16), description "Disable or enable microcode loading" parm: ber int array (min = 1, max = 16), description "Value for the BER correction algorithm" parm: flow_control int array (min = 1, max = 16), description "Disable or enable Ethernet PAUSE frames processing" parm: IntDelay int array (min = 1, max = 16), description "Value for CPU saver's interrupt delay" parm: BundleSmallFr int array (min = 1, max = 16), description "Disable or enable interrupt bundling of small frames" parm: BundleMax int array (min = 1, max = 16), description "Maximum number for CPU saver's packet bundling" parm: IFS int array (min = 1, max = 16), description "Disable or enable the adaptive IFS algorithm" parm: RxCongestionControl int array (min = 1, max = 16), description "Disable or enable switch to polling mode" parm: PollingMaxWork int array (min = 1, max = 16), description "Max number of receive packets processed on single polling call" Ага, параметр вижу (e100_speed_duplex). Остался вопрос, как его передать модулю при загрузке. WBR, Hash :-)