diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2005-03-08 11:45:37 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2005-03-08 11:45:37 +0000 |
commit | e318b68d30259e199793496d10faa5f07d1d286f (patch) | |
tree | 3a4d30dec964633fa41369ee4050145ef6f41ffa | |
parent | c294093516310862adda9d8c5bec3c2099820463 (diff) |
make and install some extra firmwares
"just do it" deraadt@
-rw-r--r-- | sys/dev/microcode/atmel/Makefile | 7 | ||||
-rw-r--r-- | sys/dev/microcode/atmel/build.c | 39 |
2 files changed, 34 insertions, 12 deletions
diff --git a/sys/dev/microcode/atmel/Makefile b/sys/dev/microcode/atmel/Makefile index 22406e6001e..7be5ef63e32 100644 --- a/sys/dev/microcode/atmel/Makefile +++ b/sys/dev/microcode/atmel/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2005/02/14 13:41:49 dlg Exp $ +# $OpenBSD: Makefile,v 1.9 2005/03/08 11:45:36 dlg Exp $ NOPROG= NOMAN= @@ -13,7 +13,10 @@ NOMAN= FIRM= atu-intersil-int atu-intersil-ext \ atu-rfmd-int atu-rfmd-ext \ atu-rfmd2958-int atu-rfmd2958-ext \ - atu-rfmd2958smc-int atu-rfmd2958smc-ext + atu-rfmd2958smc-int atu-rfmd2958smc-ext \ + atu-at76c503-i3863-int atu-at76c503-i3863-ext \ + atu-at76c503-rfmd-acc-int atu-at76c503-rfmd-acc-ext \ + atu-at76c5050rfmd-int atu-at76c5050rfmd-ext CLEANFILES+= ${FIRM} build diff --git a/sys/dev/microcode/atmel/build.c b/sys/dev/microcode/atmel/build.c index 082f95f3229..8c87048dd13 100644 --- a/sys/dev/microcode/atmel/build.c +++ b/sys/dev/microcode/atmel/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.6 2004/11/21 19:26:01 grange Exp $ */ +/* $OpenBSD: build.c,v 1.7 2005/03/08 11:45:36 dlg Exp $ */ /* * Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org> @@ -23,6 +23,10 @@ #include "atmel_rfmd2958_fw.h" #include "atmel_rfmd_fw.h" +#include "atmel_at76c503_i3863_fw.h" +#include "atmel_at76c503_rfmd_acc_fw.h" +#include "atmel_at76c505_rfmd.h" + void output(const char *name, char *buf, int buflen) { @@ -43,24 +47,39 @@ int main(int argc, char *argv[]) { output("atu-intersil-int", atmel_fw_intersil_int, - sizeof atmel_fw_intersil_int); + sizeof(atmel_fw_intersil_int)); output("atu-intersil-ext", atmel_fw_intersil_ext, - sizeof atmel_fw_intersil_ext); + sizeof(atmel_fw_intersil_ext)); output("atu-rfmd2958smc-int", atmel_fw_rfmd2958_smc_int, - sizeof atmel_fw_rfmd2958_smc_int); + sizeof(atmel_fw_rfmd2958_smc_int)); output("atu-rfmd2958smc-ext", atmel_fw_rfmd2958_smc_ext, - sizeof atmel_fw_rfmd2958_smc_ext); + sizeof(atmel_fw_rfmd2958_smc_ext)); output("atu-rfmd2958-int", atmel_fw_rfmd2958_int, - sizeof atmel_fw_rfmd2958_int); + sizeof(atmel_fw_rfmd2958_int)); output("atu-rfmd2958-ext", atmel_fw_rfmd2958_ext, - sizeof atmel_fw_rfmd2958_ext); + sizeof(atmel_fw_rfmd2958_ext)); output("atu-rfmd-int", atmel_fw_rfmd_int, - sizeof atmel_fw_rfmd_int); + sizeof(atmel_fw_rfmd_int)); output("atu-rfmd-ext", atmel_fw_rfmd_ext, - sizeof atmel_fw_rfmd_ext); + sizeof(atmel_fw_rfmd_ext)); + + output("atu-at76c503-i3863-int", atmel_at76c503_i3863_fw_int, + sizeof(atmel_at76c503_i3863_fw_int)); + output("atu-at76c503-i3863-ext", atmel_at76c503_i3863_fw_ext, + sizeof(atmel_at76c503_i3863_fw_ext)); + + output("atu-at76c503-rfmd-acc-int", atmel_at76c503_rfmd_acc_fw_int, + sizeof(atmel_at76c503_rfmd_acc_fw_int)); + output("atu-at76c503-rfmd-acc-ext", atmel_at76c503_rfmd_acc_fw_ext, + sizeof(atmel_at76c503_rfmd_acc_fw_ext)); + + output("atu-at76c5050rfmd-int", atmel_at76c505_rfmd_fw_int, + sizeof(atmel_at76c505_rfmd_fw_int)); + output("atu-at76c5050rfmd-ext", atmel_at76c505_rfmd_fw_ext, + sizeof(atmel_at76c505_rfmd_fw_ext)); - return 0; + return (0); } |