Re: Typo in PCI-E Bus Speed measure unit

看板FB_current作者時間12年前 (2013/05/26 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
No, you do not need to commit this, the next drop of my internal code already has this in it, and should be coming shortly, but thanks anyway. Jack On Sat, May 25, 2013 at 4:44 AM, Sergey Kandaurov <pluknet@freebsd.org>wrote: > Hi. > > I'd like to commit this patch. > PCI-E Bus Speed is measured in GT/s (transfers per sec). > > Index: sys/dev/ixgbe/ixgbe.c > =================================================================== > --- sys/dev/ixgbe/ixgbe.c (revision 250717) > +++ sys/dev/ixgbe/ixgbe.c (working copy) > @@ -579,8 +579,8 @@ > /* Print PCIE bus type/speed/width info */ > ixgbe_get_bus_info(hw); > device_printf(dev,"PCI Express Bus: Speed %s %s\n", > - ((hw->bus.speed == ixgbe_bus_speed_5000) ? "5.0Gb/s": > - (hw->bus.speed == ixgbe_bus_speed_2500) ? "2.5Gb/s":"Unknown"), > + ((hw->bus.speed == ixgbe_bus_speed_5000) ? "5.0GT/s": > + (hw->bus.speed == ixgbe_bus_speed_2500) ? "2.5GT/s":"Unknown"), > (hw->bus.width == ixgbe_bus_width_pcie_x8) ? "Width x8" : > (hw->bus.width == ixgbe_bus_width_pcie_x4) ? "Width x4" : > (hw->bus.width == ixgbe_bus_width_pcie_x1) ? "Width x1" : > > -- > wbr, > pluknet > _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HeFnWj8 (FB_current)
文章代碼(AID): #1HeFnWj8 (FB_current)