Deleted Added
full compact
1c1
< /* $FreeBSD: head/sys/dev/iir/iir.h 92739 2002-03-20 02:08:01Z alfred $ */
---
> /* $FreeBSD: head/sys/dev/iir/iir.h 114001 2003-04-25 05:37:04Z scottl $ */
3c3
< * Copyright (c) 2000-01 Intel Corporation
---
> * Copyright (c) 2000-03 Intel Corporation
44c44
< #ident "$Id: iir.h 1.3 2001/07/03 11:28:57 achim Exp $"
---
> #ident "$Id: iir.h 1.4 2003/03/21 16:28:57 achim Exp $"
50c50
< #define IIR_DRIVER_SUBVERSION 1
---
> #define IIR_DRIVER_SUBVERSION 3
144a145
> #define GDT_OEM_STR_RECORD 0x84 /* OEM info */
374,377d374
< /* macros */
< #define letoh32(v) le32toh(v)
< #define letoh16(v) le16toh(v)
<
460a458,503
> /* OEM */
> #define GDT_OEM_VERSION 0x00
> #define GDT_OEM_BUFSIZE 0x0c
> typedef struct {
> u_int32_t ctl_version;
> u_int32_t file_major_version;
> u_int32_t file_minor_version;
> u_int32_t buffer_size;
> u_int32_t cpy_count;
> u_int32_t ext_error;
> u_int32_t oem_id;
> u_int32_t board_id;
> } gdt_oem_param_t;
>
> typedef struct {
> char product_0_1_name[16];
> char product_4_5_name[16];
> char product_cluster_name[16];
> char product_reserved[16];
> char scsi_cluster_target_vendor_id[16];
> char cluster_raid_fw_name[16];
> char oem_brand_name[16];
> char oem_raid_type[16];
> char bios_type[13];
> char bios_title[50];
> char oem_company_name[37];
> u_int32_t pci_id_1;
> u_int32_t pci_id_2;
> char validation_status[80];
> char reserved_1[4];
> char scsi_host_drive_inquiry_vendor_id[16];
> char library_file_template[32];
> char tool_name_1[32];
> char tool_name_2[32];
> char tool_name_3[32];
> char oem_contact_1[84];
> char oem_contact_2[84];
> char oem_contact_3[84];
> } gdt_oem_record_t;
>
> typedef struct {
> gdt_oem_param_t parameters;
> gdt_oem_record_t text;
> } gdt_oem_str_record_t;
>
>
547a591
> u_int16_t sc_vendor;
608a653
> char oem_name[8];
679c724
< return letoh16(*(u_int16_t *)addr);
---
> return le16toh(*(u_int16_t *)addr);
686c731
< return letoh32(*(u_int32_t *)addr);
---
> return le32toh(*(u_int32_t *)addr);