login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-tech
»
2010
»
December
»
14
Re: bugfixes for dc(4)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Mark Kettenis
Subject:
Re: bugfixes for dc(4)
Date: Tuesday, December 14, 2010 - 1:56 am
> Date: Mon, 13 Dec 2010 23:24:52 -0500 (EST)
quoted text
> From:
loganaden@devio.us
(Loganaden Velvindron) > > Hi, I separated the mclgeti part from the bugfixes for PNIC. Give it a try.
What does this actually fix?
quoted text
> Index: src/sys/dev/ic/dc.c > =================================================================== > RCS file: /cvs/src/sys/dev/ic/dc.c,v > retrieving revision 1.121 > diff -u -p -r1.121 dc.c > --- src/sys/dev/ic/dc.c 7 Sep 2010 16:21:42 -0000 1.121 > +++ src/sys/dev/ic/dc.c 14 Dec 2010 04:18:50 -0000 > @@ -1224,7 +1224,7 @@ dc_setcfg(struct dc_softc *sc, int media > } > > if (i == DC_TIMEOUT) { > - if (!(isr & DC_ISR_TX_IDLE) && !DC_IS_ASIX(sc)) > + if (!(isr & DC_ISR_TX_IDLE) && !DC_IS_ASIX(sc) && !DC_IS_PNIC(sc)) > printf("%s: failed to force tx to idle state\n", > sc->sc_dev.dv_xname); > if (!((isr & DC_ISR_RX_STATE) == DC_RXSTATE_STOPPED || > @@ -1792,9 +1792,11 @@ hasmac: > ifmedia_add(&sc->sc_mii.mii_media, IFM_ETHER|IFM_NONE, 0, NULL); > ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_NONE); > printf("%s: MII without any PHY!\n", sc->sc_dev.dv_xname); > - } else if (sc->dc_type == DC_TYPE_21145) { > + } else if (sc->dc_type == DC_TYPE_21145) > ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_10_T); > - } else > + else if (sc->dc_type == DC_TYPE_PNIC) > + ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_10_T); > + else > ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_AUTO); > > if (DC_IS_DAVICOM(sc) && sc->dc_revision >= DC_REVISION_DM9102A)
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
bugfixes for dc(4)
, Loganaden Velvindron
, (Mon Dec 13, 9:24 pm)
Re: bugfixes for dc(4)
, Mark Kettenis
, (Tue Dec 14, 1:56 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Justin Mattock
Re: macbook pro dvd playback after suspend Buffer I/O error
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Uwe
Re: "bash: git-upload-pack: command not found" ??
Ben Schmidt
Getting the path right for git over SSH
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
linux-netdev
:
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
Patrick McHardy
Re: [ANNOUNCE]: First release of nftables
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
openbsd
observed spamd behavior
Ted Unangst
Re: OpenSMTPd actual development and integration
Paul M
Corrupted RAIDFrame device
BetClic
Benfica vs Porto - Qual o seu palpite?
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
[SCSI] scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler
Linux Kernel Mailing List
ALSA: cosmetic: make hda intel interrupt name consistent with others
Linux Kernel Mailing List
USB: gadget: audio: provide correct device id
Colocation donated by:
Syndicate