Project

General

Profile

Bug #1756 » blah.diff

Albert Lee, 2013-09-06 04:58 AM

View differences:

usr/src/uts/common/io/iwp/iwp.c
532 532
	    (sc->sc_dev_id != 0x4238) &&
533 533
	    (sc->sc_dev_id != 0x4239) &&
534 534
	    (sc->sc_dev_id != 0x008d) &&
535
	    (sc->sc_dev_id != 0x008e)) {
535
	    (sc->sc_dev_id != 0x008e) &&
536
	    (sc->sc_dev_id & 0xfff0 != 0x0080) &&
537
	    (sc->sc_dev_id & 0xfff0 != 0x0090)) {
536 538
		cmn_err(CE_WARN, "iwp_attach(): "
537
		    "Do not support this device\n");
538
		goto attach_fail3;
539
		    "Attaching unknown device\n");
539 540
	}
540 541

  
541 542
	iwp_set_chip_param(sc);
......
5389 5390
iwp_set_chip_param(iwp_sc_t *sc)
5390 5391
{
5391 5392
	if ((0x008d == sc->sc_dev_id) ||
5392
	    (0x008e == sc->sc_dev_id)) {
5393
	    (0x008e == sc->sc_dev_id) ||
5394
	    (0x0080 == sc->sc_dev_id & 0xfff0) ||
5395
	    (0x0090 == sc->sc_dev_id & 0xfff0)) {
5393 5396
		sc->sc_chip_param.phy_mode = PHY_MODE_G |
5394 5397
		    PHY_MODE_A | PHY_MODE_N;
5395 5398

  
(3-3/3)