chip.c (ec5612761c47ec7ab91b61df1bbcfd65cb0dbec8) chip.c (ca070c1097eb647e87619af5037d8a8a53a3248b)
1/*
2 * Marvell 88e6xxx Ethernet switch single-chip support
3 *
4 * Copyright (c) 2008 Marvell Semiconductor
5 *
6 * Copyright (c) 2015 CMC Electronics, Inc.
7 * Added support for VLAN Table Unit operations
8 *

--- 3430 unchanged lines hidden (view full) ---

3439
3440 info = mv88e6xxx_lookup_info(prod_num);
3441 if (!info)
3442 return -ENODEV;
3443
3444 /* Update the compatible info with the probed one */
3445 chip->info = info;
3446
1/*
2 * Marvell 88e6xxx Ethernet switch single-chip support
3 *
4 * Copyright (c) 2008 Marvell Semiconductor
5 *
6 * Copyright (c) 2015 CMC Electronics, Inc.
7 * Added support for VLAN Table Unit operations
8 *

--- 3430 unchanged lines hidden (view full) ---

3439
3440 info = mv88e6xxx_lookup_info(prod_num);
3441 if (!info)
3442 return -ENODEV;
3443
3444 /* Update the compatible info with the probed one */
3445 chip->info = info;
3446
3447 err = mv88e6xxx_g2_require(chip);
3448 if (err)
3449 return err;
3450
3447 dev_info(chip->dev, "switch 0x%x detected: %s, revision %u\n",
3448 chip->info->prod_num, chip->info->name, rev);
3449
3450 return 0;
3451}
3452
3453static struct mv88e6xxx_chip *mv88e6xxx_alloc_chip(struct device *dev)
3454{

--- 327 unchanged lines hidden ---
3451 dev_info(chip->dev, "switch 0x%x detected: %s, revision %u\n",
3452 chip->info->prod_num, chip->info->name, rev);
3453
3454 return 0;
3455}
3456
3457static struct mv88e6xxx_chip *mv88e6xxx_alloc_chip(struct device *dev)
3458{

--- 327 unchanged lines hidden ---