Print this page
3788 /etc/bootrc is defunct and should be removed

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/conf/param.c
          +++ new/usr/src/uts/common/conf/param.c
↓ open down ↓ 526 lines elided ↑ open up ↑
 527  527  /*
 528  528   * On sparc machines, read hw_serial from the firmware at boot time
 529  529   * and simply assert Oracle is the hardware provider.
 530  530   */
 531  531  char architecture[] = "sparcv9";
 532  532  char architecture_32[] = "sparc";
 533  533  char hw_provider[] = "Oracle Corporation";
 534  534  
 535  535  #elif defined(__i386)
 536  536  
 537      -/*
 538      - * On x86 machines, read hw_serial, hw_provider and srpc_domain from
 539      - * /etc/bootrc at boot time.
 540      - */
 541  537  char architecture[] = "i386";
 542  538  char architecture_32[] = "i386";
 543  539  char hw_provider[SYS_NMLN] = "";
 544  540  
 545  541  #elif defined(__amd64)
 546  542  
 547      -/*
 548      - * On amd64 machines, read hw_serial, hw_provider and srpc_domain from
 549      - * /etc/bootrc at boot time.
 550      - */
 551  543  char architecture[] = "amd64";
 552  544  char architecture_32[] = "i386";
 553  545  char hw_provider[SYS_NMLN] = "";
 554  546  
 555  547  #else
 556  548  #error "unknown processor architecture"
 557  549  #endif
 558  550  
 559  551  char srpc_domain[SYS_NMLN] = "";
 560  552  char platform[SYS_NMLN] = "";   /* read from the devinfo root node */
↓ open down ↓ 193 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX